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!!

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter10: Introduction To Inheritance
Section: Chapter Questions
Problem 1DE
icon
Related questions
Question

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!!

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,