• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

C++ help

Status
Not open for further replies.

Sanada

n00b
Joined
Nov 18, 2003
Messages
24
Can anyone help me out. I need to write a program that prompts the user to enter five test scores, and then prints the average test score. Can anyone help out?
 
you need to try it yourself first, we're not here to do your homework for you, we'll only help you if you need it, try it first and if you fail then post your code or something....
 
see the sticky. with all due respect, it's not the most difficult program
 
Code:
read score 1
read score 2
read score 3
read score 4
read score 5

calculate average score

print average score
 
Seriously, man, just try it until you get it. It can be done in a couple of lines of code if you play your cards right. =/ Once you do it, you'll get the satisfaction of knowing you figured it out by yourself.
 
Status
Not open for further replies.
Back
Top