0% found this document useful (0 votes)
7 views5 pages

Flowchart

The document outlines five flowchart solutions for different mathematical problems. Each solution includes a start point, variable initialization, calculations, and output steps. The problems addressed include calculating the area of a circle, finding the maximum of two numbers, incrementing a value, averaging exam scores, and solving quadratic equations.

Uploaded by

Azy Man
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views5 pages

Flowchart

The document outlines five flowchart solutions for different mathematical problems. Each solution includes a start point, variable initialization, calculations, and output steps. The problems addressed include calculating the area of a circle, finding the maximum of two numbers, incrementing a value, averaging exam scores, and solving quadratic equations.

Uploaded by

Azy Man
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

FLOWCHARTS SOLUTIONS

[email protected]
Solution 1:

Start

Read r

Area = 3.14 * r * r

Print Area

End
Solution 2:

[email protected]
Start

Read A, B

True False
If A>B

Print A Print B

End
Solution 3:

[email protected]
Start

i = 10

Write i

i=i+2

Yes
i < = 98

No

End
Solution 4:

[email protected]
Start

Sum = 0, C = 0

Enter Exam
Scores, S

Sum = Sum + S

C = C +1

No is
C = 25?

Yes
Av = Sum/25

Print Av

End
Solution 5:

[email protected]
Start

Declare variables a, b
D, x1, x2, rp and ip

Calculate discriminant,
D = b2 – 4ac

True False
is D > = 0?

r1= ൫- b + ξD ൯ /2a ip = - b/2a

r2 = ൫- b + ξD ൯ /2a rp = ξ- D /2a

x1 = ip + j*ip
x2 = rp - j*ip

Display r1 and r2

Stop

You might also like