'F' → Fullscreen
Open your 1-8-registration program for Task 1. Everything after that goes in a new program named 1-9-planner.
int.Parse around the Console.ReadLine call and run it.Console.Write("Jersey number: ");int jerseyNumber = int.Parse(Console.ReadLine());
Console.WriteLine($"Next season you could be {jerseyNumber + 1}.");Jersey number: 24 [Enter]Next season you could be 25.Console.Write("How many players signed up? ");int players = int.Parse(Console.ReadLine());
Console.Write("How many to a team? ");int perTeam = int.Parse(Console.ReadLine());
int fullTeams = players / perTeam;int leftOver = players % perTeam;
Console.WriteLine();Console.WriteLine("=== TOURNAMENT PLAN ===");Console.WriteLine($"Players: {players}");Console.WriteLine($"Full teams: {fullTeams}");Console.WriteLine($"Left over: {leftOver}");How many players signed up? 47 [Enter]How many to a team? 6 [Enter]
=== TOURNAMENT PLAN ===Players: 47Full teams: 7Left over: 5double.Parse for that one.:F2 anywhere first. Type 18.4 for the average. Write down exactly what the three-game number looks like — all of it.:F2 to the average and the projection, and run it again. Write down what each one says now.Console.Write("How many players signed up? ");int players = int.Parse(Console.ReadLine());
Console.Write("How many to a team? ");int perTeam = int.Parse(Console.ReadLine());
Console.Write("Entry fee per team? ");int teamFee = int.Parse(Console.ReadLine());
Console.Write("Average points per game? ");double average = double.Parse(Console.ReadLine());
int fullTeams = players / perTeam;int leftOver = players % perTeam;double threeGames = average * 3;
Console.WriteLine();Console.WriteLine("=== TOURNAMENT PLAN ===");Console.WriteLine($"Players: {players}");Console.WriteLine($"Full teams: {fullTeams}");Console.WriteLine($"Left over: {leftOver}");Console.WriteLine($"Entry cost: {fullTeams * teamFee}");Console.WriteLine($"Scoring: {average:F2} a game");Console.WriteLine($"Three games: {threeGames:F2}");Five runs of your finished planner. Write down exactly what happens each time, copied from the screen.
seven instead of 7.3.5.47 with a space before and after it.3.5.Three of these stop the program and two do not. For each one that stops, write down the line number it names.
if, and that is session 12.Your finished planner should run like this.
How many players signed up? 47 [Enter]How many to a team? 6 [Enter]Entry fee per team? 25 [Enter]Average points per game? 18.4 [Enter]
=== TOURNAMENT PLAN ===Players: 47Full teams: 7Left over: 5Entry cost: 175Scoring: 18.40 a gameThree games: 55.20double.Parse, and the rest use int.Parse.Answer the following questions before submitting your work.
int.Parse(Console.ReadLine()), in the order it happens. Name what each part hands to the next.3.5 for the number of players stopped the program, even though 3.5 is obviously a number. Explain why int.Parse refused it.Submit five things to the dropbox:
:F2, and as it printed after.