Question: Section 2 Implement in another class such a program that will read in a set of team names, their wins, and their losses. Parse the

Section 2
Implement in another class such a program that will read in a set of team names,
their wins, and their losses. Parse the string data into parts and convert
scores into integers. Compute each team's winning percentage and track the team
name and winning percentage of the team with the highest percentage of wins.
Sample Output
Lab 07, Written By
Team W L
----------------
Toronto 9369
New York 8775
Kansas City 9567
Texas 8874
Houston 8676
---------------------------------------------------------
Kansas City has the most wins with a winning pct of 0.586
---------------------------------------------------------
End of program.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!