Computer Science, asked by hkccv, 8 months ago

write an algorithm and draw a flowchart to find sum of 5 numbers

Answers

Answered by nikhilpratap9568
18

Answer:

The above flow chart explains how to calculate Sum of 5 numbers.

...

Flowchart: Sum of 5 numbers

First start the programme.

Assign i<--0 and Sum<--0.

Read value.

Assign Sum<--Sum+value, Increment I as I<--I+1and check if I<5 ,it is true it again read value

please mark me brilianest

Answered by pruthaasl
6

Answer:

The algorithm to find the sum of 5 numbers is as follows:

Step 1: Declare six variables. Five to store the five numbers and one for storing their sum.

Step 2: Take the numbers as input from the user and store them.

Step 3: Add the numbers to calculate their sum and store the result.

Step 4: Print the sum as the result.

Step 5: End the program.

#SPJ3

Attachments:
Similar questions