hello
can someone help me please with this exercise.
i can't solve it.

Write an averaging program. The program must prompt the user to enter a positive integer that specifies the number of values n the user
wishes to average. The program must then ask the user to input these n
values. The program should then compute the average of the values inputted and output it to the user.

thanks in advance.