Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ how to read data from a txt file that looks like this player1,90,78,82,76,92 player2,67,87,34,90,100 player3,80,81,82,83,84 player4,56,76,98,45,13 player5,89,100,78,100,99 and take the numbers and find the

c++

how to read data from a txt file that looks like this

player1,90,78,82,76,92

player2,67,87,34,90,100

player3,80,81,82,83,84

player4,56,76,98,45,13

player5,89,100,78,100,99

and take the numbers and find the average score for each player and rank their average on a tier scale.

(all scores out of 100)

90 - 100% = S tier

80-89% = A tier

70-79% = B tier

60-69% = D tier

50-59% = F tier

output: player1 ended with an A tier (so on so forth)...

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

Databases DeMYSTiFieD

Authors: Andy Oppel

2nd Edition

0071747990, 978-0071747998

More Books

Students also viewed these Databases questions