Challenge: Calculate the Average of Two Numbers

Use your knowledge of problem-solving, pseudocode, and flowcharts to compute the average of two numbers.

Problem statement

You have two numbers n1 and n2, and you want to calculate their average.


You take the numbers n1 and n2 as inputs.


You get the average of the two numbers as output.

Get hands-on with 1200+ tech skills courses.