Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

B) (10 pts) Write a C++ program that uses a for loop for Programming Exercise 5.53 on p. 203 (count the number of vowels and

image text in transcribed
image text in transcribed
B) (10 pts) Write a C++ program that uses a for loop for Programming Exercise 5.53 on p. 203 (count the number of vowels and consonants in a string). Turn in a printout of the program and a printout of the results. Run the program for the example string in the text and for your full name. *5.53 (Count vowels and consonants) Assume letters A, E, I, O, and U as the vowels. Write a program that prompts the user to enter a string and displays the number of vowels and consonants in the string. Enter a string: Programming is fun Enter The number of vowels is 5 The number of consonants is 11

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

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions