CIS 35A: Introduction to Java Programming

Home | Green Sheet | Lectures | Assignments | FAQ | Grades | Students

Assignment #1

Convert number grades to letter grades

Due Date: Monday of Week 2
10 points

This project uses the System.out and Scanner classes and an if/else statement to convert number grades to letter grades.

Console

Operation

  • The user enters a numerical grade from 0 to 100.
  • The application displays the corresponding letter grade.
  • The application prompts the user to continue.

Specifications

  • The grading criteria is as follows:
  • 		A    88-100
    		B    80-87
    		C    67-79
    		D    60-67
    		F    <60
     	
  • Assume that the user will enter valid integers for the grades.
  • The application should continue only if the user enters "y" or "Y" to continue.
Include in your program the following comments:
  • Name of program
  • Programmer's name
  • Current Date
  • Computer system and compiler you are using
  • Brief description of the program

Compile and run the Java program.

Take a screen capture by hitting simultaneously the keys Alt and Print Screen (Prt Sc) of the output results (console) and paste it in MS Paint. Save it as a gif file.

When you are ready, upload the java program and the gif file by clicking the link below:

Upload Assignment

I cannot grade if I don't get the files and receive your email.