摘要:
1、 #include <stdio.h> #define NUMBER 4 int main(void) { int i; int a[NUMBER]; int sum = 0; puts("please input the scores."); for (i = 0; i < NUMBER; i 阅读全文
摘要:
1、 #include <stdio.h> int main(void) { int num, i = 0, sum = 0, tmp; puts("please input the num."); printf("num = "); scanf("%d", &num); while (i < nu 阅读全文
摘要:
1、 #include <stdio.h> int main(void) { int i = 1, j; puts("please input an integer!"); printf("j = "); scanf("%d", &j); for ( i = 1; i <= j; i++) { if 阅读全文