[ create a new paste ] login | about

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

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

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


Output:
1
2
3
4
5
6
7
*
**
***
****
*****

Exited: ExitFailure 10


Create a new paste based on this one


Comments: