[ create a new paste ] login | about

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

C++, pasted on Dec 28:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include<stdio.h>
#include<stdlib.h>

int main ()
{
 int i, j, k, n;
  for(i=4;i>=0;i--)
 {          
  for(j=1;j<=i;j++)printf(" ");
  for(k=0;k<6;k++)printf("*");
  printf("\n");
 }
 system("PAUSE");
 return 0;
}


Output:
1
Disallowed system call: SYS_fork


Create a new paste based on this one


Comments: