Question: Write a program ( according to the specifications outlined below ) that calculates a weighted grade of a course that has three assignments. Specifications: Create

Write a program (according to the specifications outlined below) that calculates a weighted grade of a course that has three assignments.
Specifications:
Create a package named Q3.
Give your java class an appropriate name.
The program will print your info and a message that describes its mission as shown in the
sample output.
The program will declare three constant grade weights GRD1_WGT, GRD2_WGT,
GRD3_WGT with the following weights. Page 14 of 16
ES1036B - Programming Fundamentals for Engineers Lab Exercise 02
o 1stweight:0.2 o 2ndweight:0.3 o 3rdweight:0.5
It will prompt the user for 3 assignment marks (any real number, each out of 100), A final course grade will be computed based on the user inputs and will be displayed on the standard output using printf() method up to 2 decimal places, as shown in the sample output. Here is the mathematical expression you need to use:
finalGrade = grade1 GRD1_WGT + grade2 GRD2_WGT + grade3 GRD3_WGT
where the * sign represents the multiplication operator.
Note that the grades can be any real number between 0 and 100. We will trust that the user
of this code will input the correct values. No data-validation is required.
Note:
o Remembertodeclarevariablesbeforeattemptingtousetheminaprogram.
o Youarenotexpectedtouseanylooporarrayinthiscode.
o Paycloseattentiontodifferentvariabletypes,andwhenitisappropriatetouse
them. Sample Output:
**************************************************** Full Name:
Student Number:
Date:
Brief description of the task: *****************************************************
Input the first grade: 80 Input the second grade: 70 Input the third grade: 90
The course grade is: 82.00************************************

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!