Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I can only use the header files , , . Also using if or else if statements. Attach your program in an email with the

I can only use the header files , , . Also using if or else if statements.image text in transcribed

Attach your program in an email with the subject: HW3 Sign your email submission with your full name Name the program HW3.cpp. Submit a hard copy of your program in class. Make sure you have your name and number on the print-out. The program is due Wednesday March 13 at 2:30 pm. No late submissions will be accepted If your program does not compile, your submission is considered void HW3. Write a program that does the following Prompt the user to input their first name. You should remember/save/read the first letter of their first name. As a result you should deal with the left over data in the keyboard buffer so that your next reads in your program works properly . Prompt the user to input an alphabetical letter . Check to see if the user indeed entered an alphabetical letter, if not check the following conditions, output the proper message and end the program If the user enters any of five arithmetic operators, your message should be Error: The character is an arithmetic operator, not an alphabetical letter. Program aborted . If the user enters a digit, your message should be Error: The character is a digit, not an alphabetical letter. Program aborted . For any other invalid input, your message should be Error: The character is not an alphabetical letter. Program aborted If the user has entered an alphabetical letter. You should check the following . Your program should determine whether the user has inputted an uppercase or lowercase letter. . Your program should determine whether the user has inputted a vowel or a consonant. . Your program should also determine whether the letter matches the first initial of the user regardless of the case of the letter. Your program should determine whether the letters before and after the input letter are vowels or consonants. Obviously you have to watch for A, a, Z, and z letters

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

Question

4 examples of antigen antibody reaction with detailed explanation

Answered: 1 week ago

Question

2 Discuss the criticism of imbalance.

Answered: 1 week ago

Question

Conduct an effective performance feedback session. page 360

Answered: 1 week ago