摘要:
/* 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 ... 各行第一个数和最后一个数都是一, 其余各数是上一行同列和前一列两数之和 */ #include <stdio.h>int main(){ int a[10][10],i,j; for(i=0;i<1 阅读全文
摘要:
#include <stdio.h>int main(){ int i,a[100],number,mid,temp1,temp2; printf("How many numbers do you want to enter? \n"); scanf("%d",&number);//确定数组长度 p 阅读全文