Question: The code Is supposed to be in C# preferably VS Create a new Console Application named ScoreCards. In the application, we will be simulating a

The code Is supposed to be in C# preferably VS

  1. Create a new Console Application named ScoreCards.
  2. In the application, we will be simulating a golf tournament. We will use the scorecard at the bottom of the page to reference the par for each hole. In golf, there is a front nine holes and a back nine holes, comprising a total of 18 holes for a round. Each hole has par (the score the golfer is trying to tie or beat). The golfer's first nine holes are added together for the front nine score. The golfer's second nine holes are added together for the back nine score. The two nines are then added for the total score. There will be four golfers in the tournament.
  3. Create an array to hold the par for each of the 18 holes, in order. Create a multidimensional rectangular array to hold four golfers and 18 holes. Create random scores for each golfer and each hole, then add to the array. The score must be no more than two under the par score and two over the par score for the given hole.
  4. Display to the screen the the individual hole number, the par for the hole, and the scores each golfer shot. Add the front nine and back nine scores separately, then total the front nine and back nine for the total. Example output:

The code Is supposed to be in C# preferably VS Create a

5. In the last line of program's main method, add Console.ReadKey(); to stop the programming from ending automatically.

Scorecard:

new Console Application named ScoreCards. In the application, we will be simulating

Hole 1 4 4 mm in 4 5 6 7 8 9 Front 10 11 12 13 14 15 16 17 18 Back Total Par Golfer 1 Golfer 2 Golfer 3 Golfer 4 4 6 2 3 4 3 3 4 3 4 4 4 4 3 5 4 6 6 4 6 4 4 6 5 5 6 4 4 3 5 3 2 3 4 4 2 3 6 40 33 34 38 4 2 5 4 2 3 1 4 3 3 5 4 7 7 5 4 4 2 4 4 4 4 3 3 4 5 5 5 7 6 4 3 3 4 6 3 5 3 4 4 2 5 29 38 38 38 69 71 72 76 ww WUPP APNAV VW UWNV DVnw. 4 5111111 116 :17 1 Pace of Play (6) HOLE RATING/SLOPE BLUE 70.0/122 WHITE 68.5/114 Hdcp White 425 418 1 :26 :41 :58 1:14 1:28 1:44 1:53 2:07 2:22 2:35 2:51 3:04 3:18 3:37 3:49 4:00 4:14 2 3 4 5 6 7 8 9 OUT 10 11 12 13 14 15 16 17 18 IN TOT HCPNET 172 323 410 427 392 525 178 326 3178 316 177 490 315 280 550 345 150 426 3049 6229 158 319 400 422 380 420 168 319 3004 307 172 480 308 252 532 330 140 421 2542 5946 9 15 5 17 11 3 7 13 14 8 6 12 18 4 10 16 2 Blue Par Blue Athine 4 3 4 4 5 4 5 3 4 36 4 3 5 4 4 5 4 3 4 36 72

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!