Question
I posted this question already but forgot to clarify its in C++ This is the code body I got for python, which does exactly what
I posted this question already but forgot to clarify its in C++
This is the code body I got for python, which does exactly what I need it to do, it just needs to be converted into C++ language.
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
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