Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

Tiny Tots Tee-Ball League C# Assignment

Seeker
Seeker 


The Tiny Tots Tee-Ball league has 12 players who have jersey numbers 0 thorugh 11. The coach wants a program into which he can type a player's number and the number of bases the player got in a turn at bat (a number 0 through 4). Write a program that allows the coach to continually enter the values until 99 is entered. Store the statistics in a two-dimensional array. At the end of a data-entry session, display each player's number and the number of 0-base, 1-base, 2-base, 3-base, and 4-base turns the player had. Display a separate count of the number of data entry errors the coach makes (a player number greater than 11 or a number of bases greater than 4). Save the program as TeeBall.cs Attachments
Tags Clarifications

Answers

Tiny Tots Visual Studio Solution

Seeker
Seeker 



Solution attached


...
Attachments
TinyTots.zip (4 K) Download


Preview
set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("TinyTots")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("TinyTots")] [assembly: AssemblyCopyright("Copyright © 2010")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // t

Preview
while (!playerGood) { Console.Write("Enter Player #: "); string s = Console.ReadLine(); try { player = Int32.Parse(s); // Throw an exception if an invalid player is entered in order to hit the catch block and increment the error count by one if

Screenshots
Purchase Answer