Why does it not support any input tag it just take the value from its own and not by user why it is so? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

30th Oct 2020, 2:11 PM
Aman Tiwari
Aman Tiwari - avatar
3 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!
30th Oct 2020, 2:18 PM
Lothar
Lothar - avatar
+ 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; }
31st Oct 2020, 3:11 AM
Aman Tiwari
Aman Tiwari - avatar
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
30th Oct 2020, 2:27 PM
Aman Tiwari
Aman Tiwari - avatar