写一个Application程序输入三个数并输出器重最大值喝最小值

来源:百度知道 编辑:UC知道 时间:2024/05/23 02:26:32
Application程序

Application程序就是应用程序。
C++语言:
#include<iostream.h>
int max(int,int,int);
int main()
{
int a,b,c;
cout<<"Input three numeric:"<<endl;
cin>>a>>b>>c;
cout<<max(a,b,c)<<endl;
}
int main(int a,int b,int c)
{
int temp,aim;
if(a>b)temp=a;
else temp=b;
if(temp>c);aim=temp;
else aim=c;
return aim;
}

编译一下就行了
如果只要应用程序的话,那么把你的邮箱写一下,我给你发。