#include #define MAX_SIZE 100 int main() { int arr[MAX_SIZE], i, n, sum = 0; printf("Enter the size of the array (1 to 100): "); scanf("%d", &n); printf("Enter %d elements in the array:\n", n); for(i=0; i
上一篇:编写一个程序,打印出以下内容:100 99 98 ... 0 99 98 97 ... 0 直到 3 2 1 0 ... 2 1 0 ...1 0... 0,使用Processing语言。
下一篇:编写一个程序,打印给定N行的正方形图案(其中的数字为奇数)。