a)
ALGORITHM :
Input three numbers from the user
initialize a variable largest with 0
If first number is greater than the other two numbers, then largest
is the first number
Else if second number is greater than the other two numbers, the
largest is the second number
Else third number is the largest
Print largest.
FLOWCHART :
b)
ALGORITHM :
Initialise i with 1.
While i is less than or equals to 10, print i and increment i
End while loop
FLOWCHART :
Please give an upvote if you liked my solution. Thank you :)
Get Answers For Free
Most questions answered within 1 hours.