0

Write a program in which enter a number and find out negative and positiv?

29th Jun 2017, 3:01 PM
Aman Raj
Aman Raj - avatar
2 Antworten
+ 4
if(input<0) return "negative"; else if(input>0) return "positive"; else return "0";
29th Jun 2017, 3:21 PM
Flandre Scarlet
Flandre Scarlet - avatar
- 1
please help
29th Jun 2017, 3:02 PM
Aman Raj
Aman Raj - avatar