# data[].attributes.body
#include <stdio.h>
#include <stdlib.h>
main ()
{
int i, n;
printf("\n Enter the value of n:");
scanf("%d", &n);
i=0;
do
{
if(i>50||i<40)
{
printf("\n %d", i);
}
else{printf("\n |skip -> %d",i);}
i++;
}
while(i<=n);

return 0;
}

# data[].attributes.body
int main ()
{
float nextNum, sum = 0.0;
int count, totalNumbers, repeat=1;
while (repeat==1)
{
printf("How many numbers?: ");
scanf("%d", &totalNumbers);
count = 0;
while (count < totalNumbers)
{ printf("Type the number and press ENTER>>");
scanf("%f", &nextNum);
sum += nextNum;
count++;
}
printf("Sum = %f\n",sum);
printf("Average = %f\n", sum/count);
printf("press 1 to repeat OR 0 to exit>> ");
scanf("%d", &repeat);
}
return 0;
}

# data[].attributes.body
#include <stdio.h>
#include <stdlib.h>

main()

{
int i, n;
printf( "masukkan nilai n:");
scanf("%d",&n);
i=0; //Initialize
do
{
if (i>50 || i<40)
{
printf ("\n%d", i);
}
else
{
printf("\n skip -> %d",i);
}

i++;//update
while (i<=n);//Condition Test

}

return 0;
}

# data[].attributes.body
main()

{
int i, n;
printf( "masukkan nilai n:");
scanf("%d",&n);
i=0;
while(i<=n)
{
if (i>50 ||i<40)
{
printf ("\n %d", i);

}
else
{
printf("\n tutup -> %d",i);
}
i++;

}

return 0;
}

# data[].attributes.body
#include <stdio.h>
main()
{
int i, n;
printf("\n Enter the value of n :");
scanf("%d",&n);
i=0;
while(i<=n)
{
if(i>50||i<40)
{
printf("\n%d",i);
}
else{printf("\n skip -> %d",i);}
i++;
}
}

# data[].attributes.body
skip 40-50

#include <stdio.h>
#include <stdlib.h>

int main()
{
int i,n;
printf("\n Enter the value of n:");
scanf("%d",&n);
for (i=n;  i>=0 ;  i--)
{
if ( i<=39 || i>50)
printf("\n %d",i);
}

return 0;
}

# data[].attributes.body
40 dan 50 skip
#include <stdio.h>
#include <stdlib.h>

main()

{
int i, n;
printf( "masukkan nilai n:");
scanf("%d",&n);
for (i=n; i>=0; i--)
{
if (i<=39 ||i>50)
{
printf ("\n %d", i);
}

}

return 0;
}

# data[].attributes.body
#include <stdio.h>
main()
{
int i, n;
printf("\n Enter the value of n :");
scanf("%d", &n);
for(i=n; i>=0;i--)
{
printf("\n %d",i);
}
return 0;
}

# data[].attributes.body
#include <stdio.h>

int main()
{
int i, n;
printf( "masukkan nilai n:");
scanf("%d",&n);
for (i=n; i>=0; i--)
{ printf("%d",i);
}

return 0;
}

# data[].attributes.body
#include <stdio.h>
#include <stdlib.h>

int main()
{
int i, n;
printf("\n ambiktoh :");
scanf("%d", &n);
i=0;
do

{
if(i>50||i<40)

{
printf("\n %d",i);
}
else{printf("\n takmboh->%d",i);}
{
if(i>=70)
break;
}

i++;

}
while(i<=n);

----------------------------------------------------
#include <stdio.h>
#include <stdlib.h>

int main()
{
int i, n;
printf("\n enter value of n:");
scanf("%d", &n);
i=0;
while(i<=n)
{
if(i>50||i<40)
{
printf("\n %d",i);
}
else{printf("\n skip-> %d",i);}
i++;

}

return 0;
______________________________
#include <stdio.h>
#include <stdlib.h>

int main()
{
int i, n;
printf("\n enter value of n:");
scanf("%d", &n);
for(i=n; i>=0; i--)
{ if(i<=39 || i>50)

printf("\n %d",i);

}
return 0;
}
________________________________

#include <stdio.h>
#include <stdlib.h>

int main()
{
int i, n;
printf("\n enter value of n:");
scanf("%d", &n);
for(i=n; i>=0; i--)
{
printf("\n %d",i);

}
return 0;
}
________________________________

#include
#include

int main()
{
int i, n;
printf("\nenter value of n:");
scanf("%d", &n);
for(i=0; i<=10; i++)
{
printf("\n %d",i);
i=i+1;
}
return 0;

# data[].attributes.body
main()
{
int i, n;
printf("\n Enter the value of n:");
scanf("%d",&n);
for(i=0;i<=n;i+=2)
{
printf("\n%d",i);
}

return 0;
}

# data[].attributes.body
#include <stdio.h>
main()
{
int i, n;
printf("\n Enter the value of n :");
scanf("%d", &n);
for(i=0; i<= n; i=i+2)
{
printf("\n %d",i);
}
return 0;
}