August 14, 2015 · Public
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