Question: EE 109 Lab 3 Conditional Control Structures Spring 2021 Goal: Using for and while looping structures Instruction Complete the following exercise and submit your lab

 EE 109 Lab 3 Conditional Control Structures Spring 2021 Goal: Using

EE 109 Lab 3 Conditional Control Structures Spring 2021 Goal: Using "for" and "while" looping 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 2 and 3. (b) Screenshot of the Outputs for Exercises 2 and 3. Problem: Develop a program that asks a user to enter a number and then it outputs COUNT-DOWN from that number to 0. Exercises: 1. Draw a flow diagram/chart for a solution that uses looping for the above problem. 2. Write and test a C++ program for the above problem using a for loop. Copy and paste your C++ code and screenshot of your test output into your lab report. 3. Write and test a C++ program for the above problem using a while loop. (a) Copy and paste your C++ code into your lab report. (b) What happens when you input 6 instead of another number? Copy and paste the screenshot of the 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!