Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

CSC 250 Spring 2020 Program: ScoreBook As explained in class on 2/10 & 2/11 File contains game stats. But just a running list of events.

CSC 250 Spring 2020

Program: ScoreBook

As explained in class on 2/10 & 2/11

File contains game stats. But just a running list of events. Your code turns it into usable stats.

Teams: 2

Players: up to 15 players on each roster

- may be less

Player number: 0 to 99

TimeCode: Integer 1 to 2400 ( 40 min x 60 sec )

Team: H or G ( for home or guest )

File:

Time Team Player Points will be on each line

3 H 21 3

3 seconds into the game, Home team player #21 hit a 3pt shot

Last line will be -1 to signal end of file

Statistics:

Score at end of game

Score at end of each 10 minute quarter & pts per quarter

Player on each team with most points

Which players on each team scored & how many

- in order from high to low points

- in order from low to high number

Program details:

- score file name on command line

- no user input

For max credit

- player array has 15 items, not 100

We'll take it in steps.....

CheckPoint #1: 11pm on Friday 2/14

: Final score for each team

CheckPoint #2: 9pm on Monday 2/17

: box score

Pts in each quarter and total

1 2 3 4 Total

G

H

CheckPoint #3: 5pm on Friday 2/21

find 1.Home team: number for player with highest points

2.Home team: number for player with fewest points ( but did score )

3.Home team: number for player with highest number that did score

4.Team with player that scored most points

5.Team with most players that scored

In c programming language please.

file will be provided by the professor.

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