Question: Assignment Module 5 Decisions X Module 5 Decision Making in C+ X X C @ https://easternflorida.instructure.com/courses/1485853/files/64625221?module_item_id=17457218 Q to O . . . EF = 202310-COP-1000-01Z

 Assignment Module 5 Decisions X Module 5 Decision Making in C+X X C @ https://easternflorida.instructure.com/courses/1485853/files/64625221?module_item_id=17457218 Q to O . . . EF

Assignment Module 5 Decisions X Module 5 Decision Making in C+ X X C @ https://easternflorida.instructure.com/courses/1485853/files/64625221?module_item_id=17457218 Q to O . . . EF = 202310-COP-1000-01Z > Files > Module 5 Decision Making in C++.pdf 202310 Module 5 Decision Making in C++.pdf Home Download Module 5 Decision Making in C+ +.pdf (633 KB) | A* Alternative formats First Day 88: Modules EP Syllabus Grades 11 ? Announcements switch example Discussions Media Gallery Create a file named Switch. cpp with a header comment. My Media Copy the code on the next slide into Library Resources the file Microsoft OneDrive Before the switch statement Add the output statement asking the user to Microsoft Teams enter the shipping method classes Add the input to read the shipping method Microsoft Teams After the switch statement meetings Add an if statement that prints out an error EFSC Online & Face- message if a bad shipping code is entered To-Face Tutoring else it prints out the shipping amount Smarthinking Online Tutoring Previous Next -1 7:11 PM Type here to search W DEV 650F Clear ~ (7. .) 2/4/2023Assignment Module 5 Decisions X Module 5 Decision Making in C+ X X C @ https://easternflorida.instructure.com/courses/1485853/files/64625221?module_item_id=17457218 O . . . EF 202310-COP-1000-01Z > Files > Module 5 Decision Making in C++.pdf 202310 Module 5 Decision Making in C++.pdf Home Download Module 5 Decision Making in C++.pdf (633 KB) | A* Alternative formats First Day / /switch_example #include Modules using namespace std; int main( ) Syllabus 5 int shippingMethod; float shippingCost; Grades 11 //write an output statement asking the user to input shipping method 1, 2, or 3 Announcements // write an imput statement to read the shipping mentod Discussions (cin > shippingMethod; Media Gallery // this is the switch statement switch(shippingMethod) My Media case 1: shippingCost = 5.00; Library Resources break; case 2: Microsoft OneDrive shippingCost = 7.50; break; case 3: Microsoft Teams shippingCost = 10.00; classes break; default : Microsoft Teams shippingCost = 0; break; meetings } / /end switch EFSC Online & Face- // put an output statement here to print out the shipping cost // if the shipping cost is @ output a message that the shipping method is wrong To-Face Tutoring // else print a message that prints out the shipping cost return 0; Smarthinking Online }//end main Tutoring Previous Next -1 7:12 PM Type here to search O w 7 DEV 650F Clear ~ (7. :) 2/4/2023

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!