Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i have to adjust my table can you help im a little lost ? below is the table i already have can anyone help ?

i have to adjust my table can you help im a little lost ? below is the table i already have can anyone help ?
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
CalculateScores.java X Source History 1 2 1 import java.util.Scanner; //to take input from user * Gauthor James Murray public class CalculateScores String getGrade (int scorel, int score2, int score3) F/default constructor a NONNOSENSE No No N // calculate total score float total scorel + score2 + score3; total = total/3; //please remove this line if you want to calculate grade based on String grade; if (total)-90 4 total=30 66 total =89.99) grade="3"; else if (total)-70 66 total 79.99) grade "C"; else if(total 70) grade - "Not a valid grade"; in case if total%100 or totalco prel, int else grade. " return grade: public static void main(String arga (1) the CalculateScores obj = new CalculateScores(); Scanner IN- new Scanner(System.in); de scores, X else (totalco || total >70) grade "Not a valid grade"://in case it total>100 or totalco else grade return grader public static void main(String argal main method to control the program 30 B Calculate scores ob) - new CalculateScorest); //erating object of class. It wall call centructor Scanner IN-new Scanner(System.in); //oct of scanner class to take input System.out.print(System.Line Separator) + "Enter First Name: ") Mine Separator String -IN.DextLine) for e System.out.print(System.Line Separator) - String - TN.DextLine() Ente Last e ") System.out.print System in Separator) - "Enter Tit e ") intotel-Integer.parseInt(.nextLine()) System.out.print System.Line Separator) + "the itseot2- Integer.parseInt(IN.nextLine()) m e " : System.out.print(System.Line Separator) + int Score - Integer.parseInt .nextLine()) Th " - Run Debu Profile Team Tools Window Help -3- 6582/820 Scores.java Scanner IN- new Scanner(System.in); //oboto scanner class to take input System.out.print(Systenline Separator) Sting Name - InextLine(); Enter ESL ) Separato System.out.print(Syaten. libe Separator) + String Name - IN.nextLine(): Enter Last Name "); H System.out.print (System.Line Separator) - Enter Tit Score ) y want to add more with fraction as then update the code from it to the catel - Toatpaneleats.nextLine at scorel - Integer.parseInt(InextLine()); System.out.print(Syateline Separator) - Enter Second Score int score - Integer.pretat (NextLine()) ") System.out.print System.Line Separator) - Ente The int scot - Integer.parseInt( line) Score ") System.out.print System.Line Separator) - Systes . Estem. Sparar Welc o me e + Name) PEF String grade - obs.getGrade (cor, score This assignment consists of writing two programs. Your first program will be to 1. (Calculating the product of odd integers) Write an application that calculates and outputs the product of odd integers from 1 to 15 2. Modify the Assignment program from Module 1 to 1. read a user's first and last name 2. read three integer scores, calculate the total and average 3. determine the letter grade based on the following criteria. Average 90-100 grade is A 80-89.99 grade is B, 70-79.99 grade is Call others F (use a nested if) 4. Output formatted results consisting of the full name, the three scores, the total, average (to 2 decimal places and the letter grade 5. go to step 1 If user wants to go through the above 4 steps for another student You are required to use a method for each of the steps 1-4 Hint: you are required to use a while loop and a nested if in this program in addition to working with methods. Please upload the two well documented java files to Blackboard with a pledge that the programs were entirely your work

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

Training of the staff who will use the new system. p-945

Answered: 1 week ago