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)
{
printf("%d ", number);
++number;
}
printf("\n");
printf("%d ", number++);
}
printf("\n");
}
return 0;