asd
June 30th, 2005, 12:14 PM
well its a program that accept 3 numbers and disply only the samallest among i did this way but its giving pars error: plz help
#include <iostream>
using namespace std;
int main()
{
int a,b,c
cin >> a >> b >> c;
if(a<b)
if(a<c)
cout<<a;
els
cout<<c;
if(b<c}
cout<<b;
els
cout<<c;
retutn 0;
}
#include <iostream>
using namespace std;
int main()
{
int a,b,c
cin >> a >> b >> c;
if(a<b)
if(a<c)
cout<<a;
els
cout<<c;
if(b<c}
cout<<b;
els
cout<<c;
retutn 0;
}