C/DeitelC/Chapter3/MultiplesOf3WithAnInfiniteLoop.c
2024-03-26 11:15:25 +03:00

9 lines
138 B
C

#include <stdio.h>
int main(void) {
int three = 3;
while (three > 0) {
printf("%d\n", three);
three *= 3;
}
}