/* Lat. 0.1: lat01.c Hitungan Pencacahan */ #include <stdio.h> int main() { int C = 2, N = 12; while ( C <= N ) { printf("%d", C); C = C + 2; } printf( "Hitungan Terakhir = %d", C - 2 ); return 0; } |
2 4 6 8 10 12 Hitungan Terakhir = 12 |
Sunday, December 28, 2008
Tugas 1
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment