write a program in Q basic programming language that will produce and calculate the average of five numbers.

Will do for £1000 sterling.
Will help with your own code for £0 sterling.

You choose.

commented: Original! +15

int average = ((sum of Numbers)/lengthOfNumbers)

Example:

(1+2+3+4+5)/5 = 15/5 = 3

I am not old enough to ever have used Qbasic.

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.