保守的筹资组合
参考答案:
保守的筹资组合是将部分短期资产用长期资金来融通的筹资组合策略。
—Do they like ice cream?
— . But they don’t like vegetables.
A. No, they don’t B. Yes, they do C.Yes, they are
请补充函数fun(),该函数的功能是:按行统计N×N维矩阵元素中的最大值(均为整数),并把这些值按从小到大的顺序保存在数组b中。矩阵的维数在主函数中输入,并赋予随机数。 注意:部分源程序给出如下。 请勿改动主函数main和其他函数中的任何内容,仅在函数fun的横线上填入所编写的若干表达式或语句。 试题程序: #include<stdio.h> #include<conio.h> #include<stdlib.h> #define N 20 void fun( 【1】 ) int i j;int t;for(i=0;i<n;i++) for(j=0;j<n;j++) if( 【2】 ) b[i]=a[i][j];for(i=0;i<n;i++) for(j=0;i<n;j++) if( 【3】 ) t=b[i];b[i]=b[j];b[j]=t; main() int a[N][N]; int b[N]; int n; int i,j; clrscr(); printf("*****Input the dimension of array N*****\n"); scanf("%d",&n); printf("*****The array *****\n"); for(i=0;i<n;i++) for(j=0;i<n;j++) a[i][j]=rand()%20; while(a[i][j]==0) a[i][j]=rand()%30; printf("%4d",a[i][j]); printf("\n\n"); for(i=0;i<n;i++) b[i]=0; fun(a,b,n); printf("***** THE RESULT *****\n"); for(i=0;i<n;i++) printf("%d",b[i]);