Kumpulan coding program
Thursday, 11 April 2013
Menampilkan bilangan ganjil antara 7 - 25 kecuali 15 menggunakan continue
/* File program : ganjil.c */
#include <stdio.h>
main()
{
int x;
for (x = 7; x <= 25; x += 2)
{
if (x == 15)
continue;
printf("%4d", x);
}
printf("\n");
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment