Help Needed.
Question:- Write an algorithm to find the largest of three numbers along with a flow chart representation.
Answers
Answered by
1
here's ur answer
hopefully this helps u
Attachments:
Answered by
1
Explanation:
1)Set greatest number to the value of the first number.
2)Compare numbers 2 and 3 with the current largest number:
3)If the currently compared number is larger then the current largest number, set the current largest number to the value of the currently compared number.
Output the value of the current largest number.
Here is a flowchart for three numbers (A, B, C) that initializes the values of A, B, C before reading their values:
Attachments:
Similar questions