05 2019 档案
摘要:include <stdio.h> main() { int i,j,n=0,a[17][17]={0}; while(n<1 || n>16) { printf("请输入杨辉三角形的行数:"); scanf("%d",&n); } for(i=0;i<n;i++) a[i][0]=1; /*第一列
阅读全文
摘要:#include<stdio.h> int main(void) { int a,b,c; char flag; scanf("%d %c %d",&a,&flag,&b); switch(flag) { case '+':c = a + b;break; case '-':c = a - b; b
阅读全文
摘要:#include<malloc.h>#define MaxSize 100typedef char ElemType;using namespace std;typedef struct linknode{ ElemType data; struct linknode*next; }LiStack;
阅读全文
摘要:#include<stdio.h>#include<stdlib.h>#include<string>typedef int datatype;typedef struct Node { DataType data; Node*next; }LinkList; void print(Linklist
阅读全文

浙公网安备 33010602011771号