Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me with C++ project. Thanks Write a program using four enumerators. Initialize each as follows: 1. first, second, third, fourth, fifth, sixth, seventh,

Please help me with C++ project. Thanks

image text in transcribed

Write a program using four enumerators. Initialize each as follows: 1. first, second, third, fourth, fifth, sixth, seventh, eighth, ninth 2. Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday 3. curve, fast, knuckle, slider 4. single, double, triple, homer The program should prompt a user to input a character array or 4 numbers pertaining to each enumerator. Display help text to assists the user. The help text should display the smallest and largest possible values for each inputted number. Validate the input. Display an error message for a number entered outside the range of the enumerator. Using the enumerators, generate a sentence that will display as follows: In the fifth inning on Saturday, I hit a fast ball for a triple.; where (fifth, Saturday, fast and triple) are printed using the input generated from their respective enumerators. The input that produced the statement above would be: 4612 The program should loop allowing the user to decide whether or not he or she wishes to process the loop again Note:_jd represents the initials of the programmer. Your function names should be named by replacing the initials jd with your first and last initials

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 Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions

Question

How are the reasons for becoming an entrepreneur usually ranked?

Answered: 1 week ago

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago