Write an
algorithm and flow
Chart for the following
find the largest among three
different numbers
entered by
The user
Answers
Answered by
4
Explanation:
Algorithm : a
Step 1 : Start
Start 2 : Input A, B, C
Start 3 : Let max = A
Start 4 : if B > max then max = B
Start 5 : if C > max then max = C
Start 6 : Output max is largest
Start 7 : Stop
Flowchart :
Attachments:
Answered by
2
Plz Mark as Brainliest
Plz Mark as Brainliest
1. Start
2. Read the three numbers to be compared, as A, B and C.
3. Check if A is greater than B.
3.1 If true, then check if A is greater than C.
3.1.1 If true, print 'A' as the greatest number.
3.1.2 If false, print 'C' as the greatest number.
3.2 If false, then check if B is greater than C.
3.1.1 If true, print 'B' as the greatest number.
3.1.2 If false, print 'C' as the greatest number.
4. End
Hope You have understand
Plz Mark as Brainliest
Similar questions