You are here

Problem 12b -Instructions

6 February, 2015 - 16:52

The "Flip-Flops" is a unique shoe store that only sells fip-fops. Adult shoe sizes less than 4 are handled in the children's department, thus we don't need to concern ourselves with sizes less than 4. Half shoe sizes are to be rounded down, thus the prompt to the user that happens before this case structure will have addressed that issue. The variable shoe size will be an integer value between 4 and 1,000,000,000 (one billion).

Write C++ source code for the following pseudocode:

Example 12.13: pseudocode

Case of shoe_size  4 to 6 Display "Small."  7 to 9 Display "Medium."  10 + Display "Large."Endcase