Menu

[Solved]Create C Program Called Username Prog6c Note Vowels E O U Upper Lower Case Count Unlimite Q37188173

Create a C program called “username-prog6.c”.Note: Vowels (a,e,i,o,u) can be in upper or lower case tocount.
You can have unlimited number of sentences, the last sentence hasnothing in it but a “return” character in it. When this emptysentence is entered, you end the program. Keystrokes counter doesNOT include the enter/return key. You must use the library routinesin ctype.h and the switch statement and the toupper or tolower andisalpha functions. Output will be for EACH sentence. An array willbe used to hold the sentence of up to 200 characters.

Must create one function called readData that will have an arrayof characters passed. It will return the number of characters inthe array. Nothing else is done in the function but to read in theone sentence of up to 200 characters.

SAMPLE INPUT:
This is a Number 1 SAMPLE INPUT SentANce out of 1.
Sample Sentence#2
Sample Sentence#3

empty sentence denoted by nothing but ‘return’ key

SAMPLE OUTPUT, for EACH sentence above:

YourName Program#6 CSCI1110

Keystrokes:       9999
Alpha Characters: 9999
Vowels:          9999

—-PARTIAL SAMPLE OUTPUT:
Keystrokes:        50
Alpha Characters:   37
Vowels:            15

Expert Answer


Answer to Create a C program called “username-prog6.c”. Note: Vowels (a,e,i,o,u) can be in upper or lower case to count. You can h… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *