Limited Offer Get 25% off — use code BESTW25
No AI No Plagiarism On-Time Delivery Free Revisions
Claim Now

simple program to write from scratch

Chapter 3: Grade Stars
Instructions  
This is a simple program to write from scratch. Your professor is somewhat forgetful, and cannot always remember how many gold stars to assign for each letter grade, so could use a command-line app to help remember.  Here are the requirements: Use the Scanner class for input and println for output. Prompt for the letter grade. Output: “A grade of ‘<input letter grade>’ gets <number of stars> star[s]” (note the single quote characters around the grade!) Use this grade-to-stars assignment: A : 5, B : 3, C : 1, D, E, F get zero stars. If it’s a ‘C’ then it should say “1 star”, not “1 stars” but everything else should say “stars” The input grade can be upper or lower case, but should be treated the same, and output is upper case. Any input other than A-F (a-f) should get a message saying it’s not a valid grade.

The post simple program to write from scratch appeared first on Assignment Freelancers.

Plagiarism Free Assignment Help

Expert Help With This Assignment — On Your Terms

Native UK, USA & Australia writers Deadline from 3 hours 100% Plagiarism-Free — Turnitin included Unlimited free revisions Free to submit — compare quotes
Scroll to Top