Maria_15 0 Newbie Poster

Write a program that accepts five input values and stores them into an array. The program should then display the average of the five numbers. Finally, the program should display all the numbers in the array that are larger than the average of the five numbers.

So I did the pseudocode for this and I hope I got it correct.

dim arrx(4) as double
for i=0 to 4
arrx(i)=inputbox("enter value")
sum_of_array=sum_of_array+arrx(i)
next
avg=sum_of_array/5

But the problem is I have to put it in Visual Logic and I can't get the hang of it because I don't have the grasp of knowing what to put where and how. Can anyone help please?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.