Question: for task 1 please make it in text file , for task 2 please make it in .cpp file Task 1: Code Tracing Trace the

for task 1 please make it in text file , for task 2 please make it in .cpp file for task 1 please make it in text file , for task

Task 1: Code Tracing Trace the following code. Your code trace MUST show the changes in variables' values and the output that's going to be printed out on the screen. Hinclude xiostreams using, namespace std; Task 2: Sentinel controlled loop Write a program that asks the user for a char input and prints whether the entered character is a vowel or a consonant. The program should keep on asking the user until the user enters the character ' # ' ( # is our sentinel value in this case). Sample Interaction: Enter a character: A It is a vowell Enter a character: F It is a consonant! Enter a character: e It is a vowel! Enter a character: That is my sentinel

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!