1 2 3 4 5 6 7 8 9 10 11 | #include <stdio.h> int main(void) { double money = 1.0; for (int i = 2; i <= 30; i++) { money *= 2.0; printf("%dÀϳ¯ ÇöÀç ±Ý¾×=%lf\n", i, money); } return 0; } | cs |