Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I'm having trouble with this program in C++. Any help or guidance would be appreciated! Lets play a game today. Since its almost time for
I'm having trouble with this program in C++. Any help or guidance would be appreciated!
Lets play a game today.
Since its almost time for the Series, lets play a little baseball. Or at least a little baseball-related programming.
- Ask the user to enter names of Baseball Teams (1pts)
- there are 30 MLB teams
- Dont like baseball? Me either. You can use NFL or, if you must, NHL
- there are 30 MLB teams
- Allow the user to stop entering names at any time (1pts)
- Be sure to use prompting to let the user know theyre still participating (1pts)
- Save those names out to a file as theyre entered (5pts)
- When the user is done entering names, count how many are in the file (5pts)
- Tell the user how many they named by reading from the file (5pts)
- Tell the user they did 1) good 2) very good 3)outstanding based on how many they entered (2pts)
- you can add more strata if you so choose
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started