Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Programming language is C++ PA 10-2 (25 points) Write a program to fill a 9x9 two dimensional array with random numbers (0-9) Label Columns and
Programming language is C++
PA 10-2 (25 points) Write a program to fill a 9x9 two dimensional array with random numbers (0-9) Label Columns and Rows 1-9 as shown below. Print out the array. Then ask the user to specify a Row- Column value and print out its contents. Since array indices start at 0, the difficulty here is identifying the correct value in the array. In the below example the number 6 is in the array at [5][2] to take the 0 indexing into consideration ENCodeBlocks-EP\CodeBlocks-EP\Marsh2050\bin\Debug\Marsh2050.exe Columns 1 2 3 4 5 6 789 Row1 ROW 2 Row3 Row4 Row5 RoW 6 Row 7 Row8 Row9 0 6 42 715 9 4 8 08 080 397 9 4476 8 5 2 4 7 0 1 6 1 48 31 4 4 25 78 0 3 3 1 969 9 1 1 62 8 2 763 1 1 9 7 7 6 15 5 9 7 40 7 4 6 2 4 4 030 at array cell would you like to see? (Press enter after each entry Column3 he number 6 is in ce11 6,3 PA 10-2 (25 points) Write a program to fill a 9x9 two dimensional array with random numbers (0-9) Label Columns and Rows 1-9 as shown below. Print out the array. Then ask the user to specify a Row- Column value and print out its contents. Since array indices start at 0, the difficulty here is identifying the correct value in the array. In the below example the number 6 is in the array at [5][2] to take the 0 indexing into consideration ENCodeBlocks-EP\CodeBlocks-EP\Marsh2050\bin\Debug\Marsh2050.exe Columns 1 2 3 4 5 6 789 Row1 ROW 2 Row3 Row4 Row5 RoW 6 Row 7 Row8 Row9 0 6 42 715 9 4 8 08 080 397 9 4476 8 5 2 4 7 0 1 6 1 48 31 4 4 25 78 0 3 3 1 969 9 1 1 62 8 2 763 1 1 9 7 7 6 15 5 9 7 40 7 4 6 2 4 4 030 at array cell would you like to see? (Press enter after each entry Column3 he number 6 is in ce11 6,3Step 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