2 Replies - 250 Views - Last Post: 06 November 2017 - 01:52 PM Rate Topic: -----

#1 martibg  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 06-November 17

C++ two dimensional array

Posted 06 November 2017 - 01:41 PM

I dont know where to start from ... I have to make this program it must be easy but...

There is two-dimensional array A with m rows and n columns. Write a program which cointains new array X , and the value of Xi equals the number of negative elements on i row of A.
Is This A Good Question/Topic? 0
  • +

Replies To: C++ two dimensional array

#2 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 5891
  • View blog
  • Posts: 20,107
  • Joined: 05-May 12

Re: C++ two dimensional array

Posted 06 November 2017 - 01:46 PM

Since we are not a code writing service we are at an impasse.

Why don't you first describe in natural language how you would go about solving this problem. Then next convert that set of steps into pseudo code. Then next write some code based on that pseudo code.
Was This Post Helpful? 1
  • +
  • -

#3 snoopy11  Icon User is offline

  • Engineering ● Software
  • member icon

Reputation: 1376
  • View blog
  • Posts: 4,312
  • Joined: 20-March 10

Re: C++ two dimensional array

Posted 06 November 2017 - 01:52 PM

And ask specific questions not general ones.....
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1