Problem

If necessary, create a new project named Introductory21 Project and save it in the Cpp7\...

If necessary, create a new project named Introductory21 Project and save it in the Cpp7\Chap13 folder. Also create a new source file named Introductory21.cpp. Write a program that displays the appropriate shipping charge based on the ZIP code entered by the user. To be valid, the ZIP code must contain exactly five digits and the first three digits must be either “605” or “606”. The shipping charge for “605” ZIP codes is $25. The shipping charge for “606” ZIP codes is $30. Display an appropriate message if the ZIP code is invalid. Use a sentinel value to end the program. Save and then run the program. Test the program using the following ZIP codes: 60677, 60511, 60344, and 7130.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search