编写函数void lookup(int a[],int n,int &max,int &min),实现在数组a...答:void lookup(int a[],int i=0, n,x,int max=0,int min=0){printf("你想要在多少个数中选大小\n");scanf("%d",&n);while(i<n){scanf("x",&x);if(x>max)max=x;if(x<min)min=x;i++ } }
请问在EXCEL工作表中要怎么表达下列函数,一个数位X,她如果在1-5之间...答:假设x在A1,函数在B1单元格,函数表达式:=IF(A1<=5,"A",IF(A1<=9,"B",IF(A1<=15,"C",IF(A1<=20,"D",IF(A1<=26,"E",IF(A1<=30,"F",IF(A1<=36,"G","H")))A2。。。An单元格往下拖动公式即可。