ailaprince751 ailaprince751
  • 18-12-2019
  • Computers and Technology
contestada

Write an algorithm to find the largest among three different numbers entered by user?Also draw its flowchart.

Respuesta :

l135134 l135134
  • 25-12-2019

Answer:

To find largest number from three integers

  1. input three integers a, b, c
  2. compare if a greater than b & a greater than c
  3. output a is largest
  4. else if  b is greater than a and c
  5. output b is largest
  6. else
  7. output c is largest
Ver imagen l135134
Answer Link

Otras preguntas

Can somone help me with number 23 and 24
A bag contains 7 red marbles, 2 blue marbles and 3 green marbles. If two marbles are drawn out of the bag, what is the exact probability that both marbles drawn
what is an economic factor on a business
Where is the setting in the book two bad ants?
I viueo piays. ding to the video, how did Germany use the new technology it gained during the Industrial Revolution?
Ray CE is the angle bisector of ACD. Which statement about the figure must be true? mECD = mECB mACE = mACD ACE DCB ECD ACD
An increase in the price of flash drives leads to an increase in total expenditures on the flash drives. Which of the following is true for this price change? a
most ___ do not carry electricity well.
____ 1. Which of the following is an incorrect statement about Athens and Sparta? A Athenians enjoyed a more free society while Spartans had less freedom. B Ath
Anna wants to run 10-mile race in under 50 minutes. What rate, miles per hour, must she maintain to reach her goal.