Write a java application program that takes in user input


Write a java application program that takes in user input from keyboard and calculate semester grade based on the scores. I need help, to rewrite the program, instead of taking keyboard input, you will use dialog box to prompt user, take input, and display result.

Pseudo code for the Grading Program
==========

BEGIN
Initialize Score to 0

Initialize Grade to 'F'

Initialize Letter to ‘B'

While the Letter IS NOT 'E' or ‘e'

Input Score

If the Score is greater than or equal to 90

Set Grade to 'A'

else if the Score is greater than or equal to 80

Set Grade to 'B'

else if the Score is greater than or equal to 70

Set Grade to 'C'

else if the Score is greater than or equal to 60

Set Grade to 'D'

else

Set Grade to 'E'

print Grade

print enter 'E' or 'e' to end otherwise enter any other character

Input Letter

END

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Write a java application program that takes in user input
Reference No:- TGS01249373

Now Priced at $20 (50% Discount)

Recommended (91%)

Rated (4.3/5)