A good answer might be:The new improved program follows below. | |
New, Improved Restaurant ProgramYour program should look like the following, although in this version a few extra blank lines were added, and a few other cosmetic changes were made.
Notice that the println statement had to be changed to use the variable tipRate. Without this change, the program would run, and appear to work correctly, but not calculate the correct result. | |
QUESTION 8:If the println statement were not changed, would the Public Health Inspector give your program a passing grade? Click Here after you have answered the question |