Computer Science, asked by aloziesther, 3 months ago

Develop an algorithm that will calculate the average of five numbers​

Answers

Answered by aaryajoshi41
1

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