Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How to solve this question on C++ WITHOUT using void functions. just string or c string Exercise #3: Strings' operations Write a C+ program that

image text in transcribed

How to solve this question on C++ WITHOUT using void functions. just string or c 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

Database Management An Organizational Perspective

Authors: Richard T. Watson

1st Edition

0471305340, 978-0471305347

More Books

Students also viewed these Databases questions

Question

older than 50 12 Total 240

Answered: 1 week ago

Question

How did you feel about taking piano lessons as a child? (general)

Answered: 1 week ago