case 1:
#include<stdio.h>
#include<conio.h>
int main()
{
int i,j;
for (i = 4; i >= 0; i--)
{
for (j = 4;j >= i; j--)
printf ("*");
printf ("\n");
}
getch();
return 0;
}
case 2:
#include<stdio.h>
#include<conio.h>
int main()
{
int i,j;
for (i = 4; i >= 0; i--)
{
for (j = i;j >= 0; j--)
printf ("*");
printf ("\n");
}
getch();
return 0;
}
may i know what is the difference between this two codes? Why both output that i print out is not the same??
so confusing...
Anyone can help me ??? can explain to me why??
thanks so much!!