c언어 for1 for for#include int main() { int n, count, sum = 0; printf("Enter a positive integer: "); scanf("%d", &n); // for loop terminates when n is less than count for(count = 1; count 2016. 7. 12. 이전 1 다음