0
Why does it not support any input tag it just take the value from its own and not by user why it is so?
Please help me
4 Answers
+ 12
Aman Tiwari , seems that your question has to be reworked. For me it is totally unclear what kind of problem you have. Please give a clear description. Thanks!
+ 1
#include <iostream>
using namespace std;
int main()
{
int a,b,c;
cout<<"enter three number"<<endl;
cin>>a>>b>>c;
if (a>b)
{
if(a>c)
{
cout<<a<<"a is greater"<<endl;
}
else
{
cout<<c<<"is greater"<<endl;
}
}
else
{
if(b>c)
{
cout<<b<<"is largest"<<endl;
}
else
{
cout<<c<<"is largest"<<endl;
}
}
cout <<"Here is the result"<<endl;
return 0;
}
0
Bro actually I have written the in which I want the value from user but this takes the value by its own and not from user