Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Additional requirement: obtain student's name (full name, with last name, followed by a comma, and first name).. Display full name in the output as shown
Additional requirement: obtain student's name (full name, with last name, followed by a comma, and first name).. Display full name in the output as shown below Note: Part of this problem appeared in Exam!You nay review solutions to get a head start on this project. Ask the student's name and save it. Obtain three test scores that may contain decimal fractions (not whole numbers). Read input from console keyboard input using Scanner class. Calculate the grade using nested if-else if statements presented in Chapter 3. Declare a double variable (to be named as average) and save average of three scores. Declare two character variables: grade (for storing the letter grade), and initial for storing the first character of the last name of the student (e.g. name.charAt(0) ). Produce the output as follows: Sample output (Line numbers are shown for guidance need not appear in output) Line 1: Line2: Line4: Line5: Line6: Line 7: Line 8: Line 9: Line 10: Line 11: Line12: Line 13: Line 14: Welcome to your wame here> 's Grade Reporting Service Hello . Your records are stored under file: Your test score information is given below: Score 1 Score 2 Score 3- Average- Your Grade = Thank you for using our service! Come back again!!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started