[ create a new paste ] login | about

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

C, pasted on Jan 15:
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

int main(){
int i,j,h;
for(i=0;i<4;i++){
for(h=0;h<4-i,h++){
printf(" ");}
for(j=0;j<4-i;j++){
printf("*");}
printf("\n");}}


Output:
1
2
In function 'main':
Line 6: error: expected ';' before ')' token


Create a new paste based on this one


Comments: