Question: You are tasked to write a program to calculate the average for a given student based on the following information, each student has 3

You are tasked to write a program to calculate the average for a given student based on the following your output Must have the same wording as below: LAB ACTIVITY Please enter your full name, including middle

You are tasked to write a program to calculate the average for a given student based on the following information, each student has 3 test scores (60% of the grade), one quiz (10% of the grade) and a score for programming assignments (30% of the grade). Prompt user for their name and scores, then calculate the average and print the results nicely formatted. Name your program GradeCalculator.java. The following algorithm is given to help you develop the Java program. Make sure to follow the steps exactly as required to get the correct answers. A) Input (Use variables when reading data, and Constant (final) for the fixed set values.) Prompt user for Full name including any middle initials Prompt user for 3 test scores (Valid score must be between 0-100) integer type Prompt user for quiz score (Valid score must be between 0-100) integer type Prompt user for programming assignment score (Valid score must be between 0-100.0) 1) (2) 3) 4) real type 5) 6) 7) B) Process 1) 2) Set weight for test to 60% Set weight for programming assignments to 30% Set weight for Quiz to 10% Test Avg Average = Assignment Weight 1) 2) 3) 4) 5) 61 (TestScorel + TestScore2 + TestScore3 ) / 3.0 Test Avg * Test_Weight + QuizScore * Quiz Weight + AssignmentScore * C) Output Format Requirements: Display the results in nice format, all labels and values lined up and all real numbers should only show 2 digits after the decimal point. Print student Name Print 3 test scores with descriptive labels Print test average of the tests with a descriptive label Print quiz score with a descriptive label Print programming score with a descriptive label Print (final) average with a descriptive label your output Must have the same wording as below: LAB ACTIVITY Please enter your full name, including middle initials if have one: Please enter three (3) positive whole numbers (0-100) as test scores: Please enter one (1) whole positive number between 0 & 100 for a quiz score: 100 Please enter one real positive score (decimal 0-100) as a programming assignment score: 96.5 372672 2489694.qx3zqy7 Welcome to Your Average Grade Calculator Hello Nancy Brown, here is your report: 6 7 Test Scores: Test Average: Quiz Score: Programming Score: Average: 1 import java.util.Scanner; 2 3.22.1: Programming Assignment 1 3 public class GradeCalculator { 4 100, 80, 78 86.00 100 96.50 90.55 GradeCalculator.java public static void main(String[] args) { Scanner scnr= new Scanner(System.in); /* Type your code here. */ Nancy Brown 100 80 78. 0/50 Load default template...

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres the Java program named GradeCalculatorjava that calculates the average grade for a student bas... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!