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

Why do all the planets travel around the sun in the same direction
The first major military engagement of the American Revolution took place near A. Philadelphia. B. Boston. C. Saratoga. D. Yorktown
Linda has 3/4 gallon of ice cream. She put an equal amount of ice cream into six bowls. How much ice cream was in each bowl?
To "execute" the laws means to interpret the laws create laws make new laws carry out the laws
What is the tense of the underlined verb? This morning I brought my family blackberries from the bushes near our house. I will give 24pts
What are five features that erosion forms along a river?
I need a slogan for a ad for my teacher to come to a empire named Mali. Got any?
Which word in the sentence is the predicate adjective? After a busy morning, the children were ready for their lunch. a. their b. ready c. busy d. after
which of the following is a way in which the geography of the Mayan and harappan civilizations was different
The sum of two prime numbers is 85, what is the product of these two prime numbers? A. 85 B. 91 C. 115 D. 166