Question: EE 109 Lab 2 Conditional Control Structures Spring 2021 Goal: Use If-else and switch conditional control structures. Instruction: Complete the following exercise and submit your

 EE 109 Lab 2 Conditional Control Structures Spring 2021 Goal: Use

EE 109 Lab 2 Conditional Control Structures Spring 2021 Goal: Use "If-else" and "switch" conditional control structures. Instruction: Complete the following exercise and submit your lab report in MS Word file via Blackboard: 1. Do the lab exercises. 2. Copy and paste the followings into your lab report and submit it in Blackboard: a. C++ codes for Exercises 3 and 4. b. Screenshot of the Outputs for Exercises 3 and 4. Problem: Develop a program that asks a use for classification code (1, 2, 3, or 4) and print FRESHMAN or SOPHOMORE or JUNIOR or SENIOR or INVALID INPUT based on the user input. Exercises: 1. Draw a flow diagram/chart for a solution that uses if-else control structure. 2. Draw a flow diagram/chart for a solution that uses switch control structure. 3. Write and test a C++ program for the above problem using if-else control structure. Copy and paste your C++ code and screenshot of your test output into your lab report. 4. Write and test a C++ program for the above problem using switch control structure. Copy and paste your C++ code and screenshot of your test output into your lab report

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 Databases Questions!