Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Java program to display a letter grade based on an actual grade. A-90-100 B = 80-89 C - 70-79 D = 60-69 F

image text in transcribed
image text in transcribed
Write a Java program to display a letter grade based on an actual grade. A-90-100 B = 80-89 C - 70-79 D = 60-69 F = less than 60 The program needs to do the following: 1. Create a short integer to store a grade. (See Week 3 - Things to Know - Java Data Types) 2. Prompt for a grade (0-100). 3. Based on the grade given, use IF statements to display the letter grade associated with the numeric grai This can all be done inside the main() method. Example input/output: Enter Grade (0-100): 88 Letter Grade is B

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_2

Step: 3

blur-text-image_3

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

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions