Deleted " ++number statement from Floyd's Triangle " (#30858)

added "number++" within the printf()
This commit is contained in:
punit78
2019-01-09 00:41:10 +05:30
committed by Christopher McCormack
parent 863fd135ea
commit 8f9d26c4ad

View File

@ -656,11 +656,9 @@ int main()
{ {
for(j=1; j <= i; ++j) for(j=1; j <= i; ++j)
{ {
printf("%d ", number); printf("%d ", number++);
++number; }
} printf("\n");
printf("\n");
} }
return 0; return 0;