C
This commit is contained in:
9
DeitelC/Chapter3/MultiplesOf3WithAnInfiniteLoop.c
Normal file
9
DeitelC/Chapter3/MultiplesOf3WithAnInfiniteLoop.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
int three = 3;
|
||||
while (three > 0) {
|
||||
printf("%d\n", three);
|
||||
three *= 3;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user