1、输入两个数,输出较大数的平方值。 #includemain()int a,b,t;printf(Please enter two numbers:);scanf(%d%d,&a,&b);if(ab)a=t;a=b;b=t;printf(The result is:%d,b*b);getch();2、计算并输出50-100间的数的和。#include stdio.hmain() int i,sum; for(i=50;i=100;i+) sum=sum+i; printf(sum is %d,sum); getch();3、用数组编程,有一个44的矩阵,编程序计算并输出对角线元素之和#includemain()int a44,i,j,sum=0;printf(Please enter 16 numbers:);for(i=0;i4;i+)for(