Question: If necessary, create a new project named Introductory20 Project and save it in the Cpp8Chap13 folder. Also create a new source file named Introductory20.cpp. Write
If necessary, create a new project named Introductory20 Project and save it in the Cpp8\Chap13 folder. Also create a new source file named Introductory20.cpp. Write a program that displays the appropriate shipping charge based on the region code entered by the user. To be valid, the region code must contain exactly three characters: a letter (either A or B) followed by two numbers. The shipping charge for region A is $25. The shipping charge for region B is $30. Display an appropriate message if the region code is invalid. Use a sentinel value to end the program. Save and then run the program. Test the program using the following region codes: A11, B34, C7, D2A, A3N, C45, and 74TV.
Step by Step Solution
3.49 Rating (172 Votes )
There are 3 Steps involved in it
Answer Hi Below is the code that i had compiled in visual studio for C include stdafxh inc... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
2045_61d6ac3433fb2_838731.pdf
180 KBs PDF File
2045_61d6ac3433fb2_838731.docx
120 KBs Word File
