WAP in C to check if the input number is positive or negative. The program should display positive if the number is 'positive', otherwise it should display 'negative'. Your program must also ask the user how many numbers he/she would like to enter as well before he starts entering value.

NOTE: In the below program, user enters 4 which means he is to enter 4 values and then four numbers following that. After that, the result for all the four numbers are displayed accordingly.
SAMPLE OUTPUT SCREEN
4
12
156
-92
43
positive
positive
negative
positive

I have been out of Daniweb for the past three years. Returning now, I see many pleasant changes.

However, in one regard Daniweb has not changed -- it still seems to be flooded with homework problems!

We don't do homework.
Use a for loop to determine how many numbers a number must be input.
In this for, also use an if statment to determine if your number is positive or negative.

Don't use "Help Me" as a subject of topic please!

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.