[ create a new paste ] login | about

Link: http://codepad.org/2daPPBaJ    [ raw code | output | fork ]

Rituparnadatta - C, pasted on Aug 16:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include<stdio.h>
int main()
{
int n;
n=5;
if(n>0)
{
printf("The number %d is positive\n",n);
}
else
{
printf("The number %d is negative\n",n);
}
return 0;
}


Output:
1
The number 5 is positive


Create a new paste based on this one


Comments: