Computer Science, asked by nonh7887, 3 months ago

Using flowcharts. Write an algorithm to read 100 numbers then display the largest.

Answers

Answered by pratyushara987
4

Answer:

the process by which green plants turned carbon dioxide and water into food using energy from sunlight is called photosynthesis

Answered by Jasleen0599
3

Write an algorithm to read 100 numbers

This algorithm prints all numbers between 1 and 100.

Step 1: Begin

Step 2: Set the variable number's initial value to integer number (n) = 1.

Step 4: Read the value of the number and print it.

Step 5: Continue from step 4 until the number is 100.

Number 5.1: Number (n) + 1

step 6: stop.

Display the largest.

Step 1. read N.

step 2. Let ctr = 1 in

Step 3. Read the number.

Step 4.Large = Num

Step 5.Next, read the number.

Step 6: ctr = ctr + 1.

Step 7: Large = Num if (Num > large).

Step 8: Repeat steps 5 and 6 if (ctr = N).

Step 9:Print large

Step 10: Finish.

#SPJ2

Similar questions