d@rK nEmEsIs
Skilled
help me guys really noob in C language how to get this output
PHP:
1
12
123
1234
12345
123456
1
12
123
1234
12345
123456
for(int i=1;i<=6;i++)
{
for(int j=1;j<=i;j++)
{
printf("%d",j);
}
printf("\n");
}
H@cKer said:thanks for help dude but I want the output using just two if operators any help here
hammerhead said:I do not understand, please clarify further.
one more thing to to print odd number from 1 to 100 without using any loop