English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Write a program that prompts the user for the number of students in the class and then for each student their name, points on 3 tests (all out of 100) and than displays the student name, their test scores and the average.
Output well done! for a score over 79 else for a score less than 79 Try Harder
The output would similar to

How many students in the class
3
Enter next student name:
James Cool
Enter first test score
77
Enter second test score
56
Enter third test score
80
James Cool has an average of 71 Try harder
Repeat for the next 2 students

2006-10-29 12:44:54 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

ITS IN JAVA

2006-10-29 12:49:31 · update #1

4 answers

What programming language do you need an answer in?

2006-10-29 12:47:45 · answer #1 · answered by Snoopy 5 · 0 0

Do your own homework partner. In your future if you make a programmer you'll be glad you did.

If you can't do it now, how are you going to do it later ?

Hint : Use ======>
System.in.read() to get the input
System.out.println() to display output

2006-10-29 13:02:57 · answer #2 · answered by Developer NC 3 · 0 0

No offense but isnt that why your in the class to learn that stuff.

2006-10-29 12:55:16 · answer #3 · answered by koorblohg 2 · 0 0

Yep, that's a doozy, that is.

2006-10-29 12:47:34 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers