Question: Write c++ program Write a program that prompts the user to enter two upper case letters such that the first letter is alphabetically before the

Write c++ program  Write c++ program Write a program that prompts the user to

Write a program that prompts the user to enter two upper case letters such that the first letter is alphabetically before the second letter. The program validates the two letters and prints the number of letters between the two entered upper case letters. The program ask the user if s(he) wants to try again? See sample input/output below: Sample Input/Output: Enter the first upper case letter: 7 Enter the first upper case letter: d Enter the first upper case letter: c Enter the second upper case letter>C: F The number of letters betueen C and F is 4 Do you uant to try again? Y or y for yes, N or n for no: + Invalid letter, enter Y, y, N, or n: U Invalid letter, enter Y, y, N, or n: y Enter the first upper case letter: I Enter the second upper case letter > I: x The number of letters between I and X is 16 Do you want to try again Y or y for yes, N or n for no: n

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!