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