[ create a new paste ] login | about

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

Rituparnadatta - C, pasted on Sep 19:
1
2
3
4
5
6
7
8
9
10
11
12
//loop and display the number//
#include<stdio.h>
int main ()
{
int i;
printf("Display the number:\n");
for(i=135; i<=150; i=i+1)
{
printf("%5d",i);
}
return 0;
}


Output:
1
2
Display the number:
  135  136  137  138  139  140  141  142  143  144  145  146  147  148  149  150


Create a new paste based on this one


Comments: