Question: IN C++ PLEASE HELP ME WITH THIS ASSIGNMENT . DO ALL THE REQUIREMENTS AND DO NOT USE THE SAMPLE BELOW MAKE YOUR OWN ONE THANK

IN C++

PLEASE HELP ME WITH THIS ASSIGNMENT. DO ALL THE REQUIREMENTS AND DO NOT USE THE SAMPLE BELOW MAKE YOUR OWN ONE

THANK YOU!!

write a menu-driven program using your own ideas. A menu-driven program is a program that gets input from a user by showing a list of options, known as the menu, from which the user chooses their option. One of the options is to quit and end the program execution. The objective of this project is to demonstrate mastery of the outcomes of this course.

Requirements for the code:

Name the file containing the main() function finprj.cpp.

Menu driven program.

The program must loop until the user enters QUIT to end the program.

No breaks or returns inside loops.

No while(true) loops in your program.

No global variables.

Must use structs

You must use multiple files in your project.

Must have functions and function prototypes. All functions must be written after main().

Must have an array of struct and c-strings (no String class, vectors or anything not covered in this class).

Must do data validation for input read from the user. Users must not be allowed to enter invalid or negative numbers. All options must be validated.

Must read data from a file.

The below sample run is an example - your output will depend on your data set and your project specifications. You may not use this example!

PLEASE DO NOT USE THE EXAMPLE BELOW . MAKE A DIFFERENT ONE

Welcome!

This program gives statistical information about Players and their scores.

You can Add to the dataset, Print the dataset, Find the average score and max score for a player, or quit the program.

Pick an option from below:

(N)EW PLAYER

(P)RINT

(A)VERAGE

(M)AX

(Q)UIT

N

Enter Player Name (50 characters or less): Virat Kohli

Enter Player's Country (50 characters or less): India

Enter Player's age: 45

How many scores for this player? 5

Enter the scores:

>>450

>>300

>>500

>>410

>>600

Pick an option from below:

(N)EW PLAYER

(P)RINT

(A)VERAGE

(M)AX

(Q)UIT

P

Praveen Kumar;India;9;220;200;250;300;225;235

Teresa Bolle;USA;34;220;210;280;290;225;335;350

Mini Nair;Fiji;45;330;290;275;390;325

Ahmed Azar;Nigeria;15;390;400;350;310;325;335;390

Rodney King;USA;38;120;290;350;300;325;295;287

Niko Martin;Greece;24;320;300;290;400;305

Casey Allen;USA;23;320;230

Rekha Kaur;India;26;420;100;350;300;325;335

Kyle Milan;UK;22;320;300;250;400;325;335;450

GD Iyer;USA;45;100;200;300;400

Virat Kohli;India;45;450;300;120;340;509

Pick an option from below:

(N)EW PLAYER

(P)RINT

(A)VERAGE

(M)AX

(Q)UIT

A

Enter player name to search for: Nair

Here is the information:

Mini Nair;Fiji;322.00

Pick an option from below:

(N)EW PLAYER

(P)RINT

(A)VERAGE

(M)AX

(Q)UIT

m

Max score for each player:

Praveen Kumar;300

Teresa Bolle;350

Mini Nair;390

Ahmed Azar;400

Rodney King;350

Niko Martin;400

Casey Allen;0

Rekha Kaur;300

Kyle Milan;450

GD Iyer;400

Virat Kohli;509

Pick an option from below:

(N)EW PLAYER

(P)RINT

(A)VERAGE

(M)AX

(Q)UIT

f

Invalid option! Please try again!!

Pick an option from below:

(N)EW PLAYER

(P)RINT

(A)VERAGE

(M)AX

(Q)UIT

Q

Thank you for using my program!

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!