CODE MUST BE IN JAVA PLEASE READ THE QUESTION AND DON'T JUST COPY PASTE THE ANSWER FROM ANOTHER QUESTION, THE PREVIOUS "EXPTERT" JUST COPY PASTED AN ANSWER FROM IDK WHERE, PLEASE REFUND MY QUESTION THANK YOU!!! Create a program that takes in a student’s full names and marks for 3 In-class exercises, then calculate the average of this marks. This average mark is then categorized as follows: Marks obtained Grade Level Message 80 – 100 1 Magnificent!! 70 – 79 2 Excellent!! 60 – 69 3 Good work!! 50 – 59 4 Good!! 0 – 49 0 Fail – Try again next Year!! Greater than 100 or less than 0 X Invalid Marks!!, Marks too high. Or Invalid Marks!!, Negative marks not allowed. Sample run 1: Enter student full names: Goodluck Johnathan Enter 3 marks separated by spaces: 78 94.6 88 Output: Student name: Goodluck Johnathan Grade Level: 1 Comment: Magnificent!! Sample run 2: Enter student full names: Ellen Johnson Sirleaf Enter 3 marks separated by spaces: 200 104.87 99.9 Output: Student name: Ellen Johnson Sirleaf Grade Level: X Comment: Invalid Marks!!
CODE MUST BE IN JAVA
PLEASE READ THE QUESTION AND DON'T JUST COPY PASTE THE ANSWER FROM ANOTHER QUESTION, THE PREVIOUS "EXPTERT" JUST COPY PASTED AN ANSWER FROM IDK WHERE, PLEASE REFUND MY QUESTION THANK YOU!!!
Create a program that takes in a student’s full names and marks for 3 In-class exercises, then calculate the average of this marks. This average mark is then categorized as follows:
Marks obtained |
Grade Level |
Message |
80 – 100 |
1 |
Magnificent!! |
70 – 79 |
2 |
Excellent!! |
60 – 69 |
3 |
Good work!! |
50 – 59 |
4 |
Good!! |
0 – 49 |
0 |
Fail – Try again next Year!! |
Greater than 100 or less than 0 |
X |
Invalid Marks!!, Marks too high. Or Invalid Marks!!, Negative marks not allowed. |
Sample run 1:
Enter student full names: Goodluck Johnathan
Enter 3 marks separated by spaces: 78 94.6 88
Output: Student name: Goodluck Johnathan
Grade Level: 1
Comment: Magnificent!!
Sample run 2:
Enter student full names: Ellen Johnson Sirleaf
Enter 3 marks separated by spaces: 200 104.87 99.9
Output: Student name: Ellen Johnson Sirleaf
Grade Level: X
Comment: Invalid Marks!!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images