main () {
int n, i=0, b, j;
printf ("Masukan N : "); scanf ("%d", &n);
j=n;
for (i=0;i<=n*2;i++){
if (i>=n) {
printf ("%d ", n-j);
j--;
}else {
printf ("%d ", n-i);
}
}
}
Recent media online information
Kategory → Perulangan » C/C++ » Something
Copyright 2011 Something is proudly powered by blogger.com | Design by Tutorial Blogspot Published by Template Blogger
0 komentar:
Posting Komentar