This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: line and preceded by an appropriate label. Print one blank line between the data entry and the employee report. 5. Include the code that will format all floating-point output to have a precision of 2. CS 110A Program 4 Page 2 Rule 6. Rather than having a pay increase of 7.6% for all employees, use 7.6% for employees having an annual salary of 80,000 or less and 6.5% for employees having an annual salary that is greater than 80,000. 7. Use a do ... while loop with the char control variable containing the user's response to the question, "Another employee to process?". 8. Use good programming style; that is, vertically align the matching braces, indent the block of statements, and use whitespace (blank lines in your program) judiciously....
View Full Document
This note was uploaded on 04/01/2009 for the course CS CS 110A taught by Professor R. during the Spring '08 term at City College of San Francisco.
- Spring '08