求5个数的最小值
#include<iostream>
using namespace std;
int main()
{
int a,b,c,d,e;
cin>>a>>b>>c>>d>>e;
if(b>a)
{
}
if(c>b)
{
}
if(d>c)
{
}
if(e>d)
{
}
cout<<e;
return 0;
}
求5个数的最小值
#include<iostream>
using namespace std;
int main()
{
int a,b,c,d,e;
cin>>a>>b>>c>>d>>e;
if(b>a)
{
}
if(c>b)
{
}
if(d>c)
{
}
if(e>d)
{
}
cout<<e;
return 0;
}