Computer Science, asked by Ikshuda, 15 days ago

Write an algorithm to calculate average value for the given five numbers.

Answers

Answered by snjeet077
0

Explanation:

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