[C/Core C Programming] Chapter7
//2 #include #include int main() { double a; double r; double n[10] = { 0, }; printf("์ฒซ๋ฒ์งธํญ?"); scanf_s("%lf", &a); printf("๊ณต๋น?"); scanf_s("%lf", &r); printf("๋ฑ๋น์์ด"); for (int i =1; i < 10; i++) { n[0] = a; n[i] = n[i-1]* r; } for (int j = 0; j < 10; j++) { printf("%.1lf ", n[j]); } return 0; } //3 #include #include int main() { int n[10] = { 1,2,3,4,5,6,7,8,9,10 }; int i; int max = 0, min = 0; p..