Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how to solve this question on C++ using string Exercise #3: Strings' operations Write a C+ program that prompts the user to enter a sentence,

image text in transcribed

how to solve this question on C++ using string

Exercise #3: Strings' operations Write a C+ program that prompts the user to enter a sentence, the program then does the following 1. 2. 3. 4. 5. 6. 7. Prints the total characters in the sentence Prints the word count of the sentence, assuming only one space between each tow words Prints total vowel { a. e. i, o, u} in the sentence Prints the vowel frequency as shown in the sample below Prints the sentence in reverse Prints the total number of characters other than the alphabets (Note: space is a character) Prints the sentence in a way so that the case of each character is changed. i.e from lower to upper and vice versa Sample input / output: nter a string: Dr. Al haracter Count49 ord Count : 9 owel Count :13 owel Frequency: kes to play football, tennis, and golf. 2 0 everse : .flog dna .sinnet .llabtoof yalp ot sekil ilA .rlD on-aphabet Count 12 hange Case : dR. aLI LIKES TO PLAY FOOTBALL. TENNIS. AND GOLF

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

MySQL Crash Course A Hands On Introduction To Database Development

Authors: Rick Silva

1st Edition

1718503008, 978-1718503007

More Books

Students also viewed these Databases questions

Question

Briefly define feedback scheduling.

Answered: 1 week ago

Question

Identify the different methods employed in the selection process.

Answered: 1 week ago

Question

Demonstrate the difference between ability and personality tests.

Answered: 1 week ago