0
How do make a code that prompts the user to input data like my code does not not prompt the user
int a,b,c; cout<< "\nEnter first number : "; cin>>a; cout<<"\nEnter second number : "; cin>>b; c=a+b; cout<<"\nThe Sum is : "<<c;
2 odpowiedzi
+ 3
It does , but will not work in sololearn as it here you have to provide all the input beforehand