Question Description
DISCLAIMER: This is for an entry level College Coding class. We just learned For Loops and Do While.
??
Specifics:
- The program will collect and display data for three customers.
- The program will ask for the users first name and last name.Users will be able to enter their names using any combination of upper and lower case letters. The name will then be displayed using all upper case letters in the table.
- Each customer will be assigned a customer number made up of their initials plus a random number between 1 and 4000.
- The program must also ask for the number of items purchased.
- If the user buys 3 or more posters, they will receive a discount.
- You may assume that all data entered will be of the correct type.
- The tax rate is 7.5%, the discount is 5%, and the cost of each poster is $12.95.These must be named constants in your program.
- Tax is not charged on any discount amount.
- Dollar amounts must be displayed in correct format with dollar signs and two places after the decimal point.
- Your output must look similar to the Sample Program Run on the back of this page.
————————————————————————————————————————————
Grading Standards
A perfect program will:
- Run correctly, meeting all specifications from the assignment
- Code will
- use good variable names that follow Java conventions
- have a correct and well-named constants
- use the if statement correctly to determine whether there is a discount
- be correctly formatted with clear indentation
- be well commented, following the coding guidelines for this class
- be submitted correctly
An A program:
- Will run correctly, meeting all specifications from the assignment
- Will have correct and well-named constants
- Will use ifs correctly
- May have no more than two minor errors in commenting, format, naming and/or submission
A B program:
- Will run correctly, with at most one small deviation from the assignment
- Will produce the correct output on the provided sample data
- Will have comments
- Most variable names will be meaningful and follow Java conventions
A C program:
- Will compile and run
- Is at least partially successful in completing the assignment directions
- May have multiple minor errors
- or errors in multiple areas
- or up to 2 major errors
A D program
- Will compile and run
- Has serious errors in execution
An F program
Does not compile
Or does not run
Or substantially fails to follow the assignment instructions
Or has a large number of errors of different kinds