Write a Java program that prompts the user to enter the School Grade Level of a student and then calculate their discount amount in the regular fees structure offered during this pandemic situation. By using the below table, calculate their discount amount from the amount of the regular fee and then print the discount amount in OMR by using the appropriate selection structure. (Assume the user is entering a maximum Grade level is 12) discount amount = Regular Fees * percentage of discount rate

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.4: A Case Study: Rectangular To Polar Coordinate Conversion
Problem 7E: (Simulation) Write a program to simulate the roll of two dice. If the total of the two dice is 7 or...
icon
Related questions
Question
Remaining Time: 54 minutes, 49 seconds.
* Question Completion Status:
QUESTION 19
Write a Java program that prompts the user to enter the School Grade Level of a student and
then calculate their discount amount in the regular fees structure offered during this pandemic
situation. By using the below table, calculate their discount amount from the amount of the
regular fee and then print the discount amount in OMR by using the appropriate selection
structure. (Assume the user is entering a maximum Grade level is 12)
discount amount = Regular Fees * percentage of discount rate
School Grade Level
Regular Fees in OMR
Discount Rate
>9 and <=12
50.250
10%
>6 and <=9
45.750
8%
>3 and <=6
40.250
6%
>0 and <=3
30.500
5%
otherwise
20.400
No discount
T T T Arial
3 (12pt)
v T -E E-
只i ン
Click Save and Submit to save and submit. Click Save All Answers to save all answers.
Save All Answers
TOSHIBA
F5
F6
F7
F8
F9
F10
F11
F12
INS
SCNULL LOCK
AD
&
67
7
V 8A9 4 0
Transcribed Image Text:Remaining Time: 54 minutes, 49 seconds. * Question Completion Status: QUESTION 19 Write a Java program that prompts the user to enter the School Grade Level of a student and then calculate their discount amount in the regular fees structure offered during this pandemic situation. By using the below table, calculate their discount amount from the amount of the regular fee and then print the discount amount in OMR by using the appropriate selection structure. (Assume the user is entering a maximum Grade level is 12) discount amount = Regular Fees * percentage of discount rate School Grade Level Regular Fees in OMR Discount Rate >9 and <=12 50.250 10% >6 and <=9 45.750 8% >3 and <=6 40.250 6% >0 and <=3 30.500 5% otherwise 20.400 No discount T T T Arial 3 (12pt) v T -E E- 只i ン Click Save and Submit to save and submit. Click Save All Answers to save all answers. Save All Answers TOSHIBA F5 F6 F7 F8 F9 F10 F11 F12 INS SCNULL LOCK AD & 67 7 V 8A9 4 0
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning