Answered step by step
Verified Expert Solution
Link Copied!

Question

00
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
  • 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

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions