ASSIGNMENT 2
Include as a comment at the beginning of your source code: Name, Class (either MW or TTh), and Assignment number.
Add comments to clarify things which may not be immediately obvious but do not comment the obvious.
Submit the .java files as attachments to an email to pegramitp120@gmail.com; you may use a single java file for both exercises or a single one.
Ex 1.
Write an application using a while loop that would display your first and last name x times, where x is the number of letters in your first name. Each first name-last name combination should be on a separate line. The name can either be "hard coded" into the program or can be entered at the console -- your choice. The number of letters in your first name may be "hard coded" into the program; it need not be detected by the program.
Ex 2.
Write an application that would allow the user to enter the numeric grade and then display the letter grade accordingly. For example,
A for exam grades greater than or equal 90,
B for exam grades greater than or equal 80 to 89,
C for exam grades greater than or equal 70 to 79,
D for exam grades greater than or equal 60 to 69,
and F for all other grades.
DUE DATE: As specified on the schedule page.