salam::
/*write a program that input five integers . it finds and print the
largest and smallest integer */
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
int a,s,d,f,g,min,max;
cout<<"Input your five numbers:"<<endl;
cin>>a>>s>>d>>f>>g;
min=max=a;
if(max>s)max=s;
if(max>d)max=d;
if(max>f)max=f;
if(max>g)max=g;
if(min<s)min=s;
if(min<d)min=d;
if(min<f)min=f;
if(min<g)min=g;
cout<<"The largest number is="<<max<<endl;
cout<<"The smallest number is="<<min<<endl;
return 0;


}