Computer Science, asked by shahedm387, 11 hours ago

write an algorithm to find out the average of five numbers taken from use.

Answers

Answered by moonsarkar947
0

Answer:

That's it!!

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.

Answered by alimaheen702
0

answer

Explanation:

algorithm : input : two number x and y

output : the average of x and y

step 1 .

input x and y

step 2.

sum = 0 , average = 0

step 3.

sum = x + y

step 4.

average = sum / 2

step 5.

print average

thank you

Similar questions