Do statements inside of a loop look much different from those that are not?
No—statements inside of a loop are just like any statements. (Although they should be indented to make them stand out.)
Look again at the program's output:
Enter the amount of markup in percent ? 50 The price multiplier is: 1.50 Enter wholesale price ? 100 Retail price: 150 Enter the amount of markup in percent ? 15 The price multiplier is: 1.15 Enter wholesale price ? 100 Retail price: 115 Enter the amount of markup in percent ? 10 The price multiplier is: 1.1 Enter wholesale price ? 100 Retail price: 110 Enter the amount of markup in percent ?
This is hard to read. The program would be improved if:
Add two new statements to the above program to implement these two new features.