Fundamentals of Computer Programming - Old Questions
Question Answer Details
1. Draw the flow chart for finding largest of three numbers and write an algorithm and explain it.
Answer
AI Generated Answer
AI is thinking...
Official Answer
Algorithm:
1. Start
2. Input A,B,C
3. If (A>B) and (A>C) then print “A is greater”.
Else if (B>A) and (B>C) then print “B is greater”.
Else print “C is greater”.
4. Stop
Flowchart: