Computer Science, asked by sharmagokul7455, 9 months ago

Write an algorithm to find the average of five numbers and draw the flowchart also

Answers

Answered by sj4362860
59
Flowchart and algorithm

Write an algorithm for finding the average of two numbers and also draw a flowchart.

Algorithm: Input: two numbers x and y Output: the average of x and y Step 1 : input x,y Step 2: sum=0,average=0 Step 3:sum = x + y Step 4:average = sum /2 Step 5: print average.

Answered by kawshika
5

Answer:

Algorithm: Input: two numbers x and y Output: the average of x and y Step 1 : input x,y Step 2: sum=0,average=0 Step 3:sum = x + y Step 4:average = sum /2 Step 5: print average.

Similar questions