I need to write a program that takes in the values to a 4x5 two dimensional array of integers,then searches the array for values that are less than 0(zero)and displays these values along with there row and column indices..

Anyone have any ideas...newbie

Recommended Answers

All 3 Replies

>Anyone have any ideas
I have an idea: give it a try and see what you can come up with.

>...newbie
This won't encourage us to hand feed you any more than a direct request for a solution.

Is this program to be in C or C++?

Hint: You'll need two for loops (one inside the other) to read the values into the array.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.