help me please, basic program language preferably . create a program that will have the same output below

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 8RQ
icon
Related questions
Question

help me please, basic program language preferably . create a program that will have the same output below

Instructions:
1. Ask the user for the number of rows and
columns of a 2D array and then its elements.
2. Then, ask the user for another integer value
which represents the culprit.
3. Finally, go through the 2D array and find the
culprit's coordinates - its row number and
column number and display them.
Input
1. Number of rows
2. Number of columns
3. Elements of the 2D array
4. Culprit's value
Transcribed Image Text:Instructions: 1. Ask the user for the number of rows and columns of a 2D array and then its elements. 2. Then, ask the user for another integer value which represents the culprit. 3. Finally, go through the 2D array and find the culprit's coordinates - its row number and column number and display them. Input 1. Number of rows 2. Number of columns 3. Elements of the 2D array 4. Culprit's value
Output
Print the row of the position first and then the column
of the position. Note that the row and the column is
0-based (i.e. it starts at 0 and not at 1).
It is guaranteed that the culprit exists only once in the
2D array.
Enter # of rows: 4
Enter # of columns: 4
Elements:
1.4 2-3
91.2-3
4. 2-1-1
9.2.83
Enter the culprit's value: 8
culprit's position: 3, 2
Transcribed Image Text:Output Print the row of the position first and then the column of the position. Note that the row and the column is 0-based (i.e. it starts at 0 and not at 1). It is guaranteed that the culprit exists only once in the 2D array. Enter # of rows: 4 Enter # of columns: 4 Elements: 1.4 2-3 91.2-3 4. 2-1-1 9.2.83 Enter the culprit's value: 8 culprit's position: 3, 2
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Module hierarchy chart
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning