Computer Science, asked by aadhinathajithkumar, 6 months ago

algorithm to find the sum and average of five numbers

Answers

Answered by aishanisinha600
3

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