Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions