๐Ÿ”’ Closed Java help

Status
Not open for further replies.

Phc-AJDS

Eternal Poster
Create a program that will let the user enter his name then lets the user enter his score for the following subjects:
-English

-Filipino

-Math

-Science

-P.E

then after entering the scores, the program will now compute and display the average score of the 5 subject.

using if else statement determine if the score is passing or not.



Example output:



Enter first name: Juan

Enter Last name: Dela cruz

Enter for Subjects:

English: 85.7

Filipino: 90.5

Math: 90

Science: 85

P.E: 75.9

Good Day Juan! your Average score is:

Congratulations! Your Score is Passing

or

I'm Sorry Your score is not reached passing score
 
Madali nalang yan if else statement.
Alamin mo muna computation ng average score. Then kung anong grade yung pasado or bagsak
After computation ng average,
if (grade >= 90) {
pasado ja juan =D
}else if (grade <= 60) {
aral kapa ng mabuti juan
}else if (grade .......
 
Madali lang yan, i di display mo lang yung name variable tapos ipag compute mo ung grades(kung pano mag compute ng average) tapos lagay mo sa if(grade <= 75) the student pass else, the student failed
 
Status
Not open for further replies.

About this Thread

  • 5
    Replies
  • 598
    Views
  • 5
    Participants
Last reply from:
Chunchunmaru

Online now

Members online
1,064
Guests online
1,325
Total visitors
2,389

Forum statistics

Threads
2,277,059
Posts
28,974,040
Members
1,229,710
Latest member
Yukijay
Back
Top