0
Cin not working
#include <iostream> using namespace std; int main() { int a; cout <<"\n enter a no"; cin>>a; cout<<a; return 0; }
4 Réponses
+ 4
Were you using the right playground?
link the code using the " + "
then select the code.
edit where are you running the code?
0
#include <iostream>
using namespace std;
int main()
{
int a;
cout <<"\n enter a no";
cin>>a;
cout<<a;
return 0;
}
0
cin not working
0
https://code.sololearn.com/cmIlYrsz23xO/?ref=app
works for me, make sure to enter only the number and nothing else