New course! Every coder should learn Generative AI!
Try a free lesson0
Problem with cin
I wrote a line of code in c++ asking the person to enter two nos but entered only one. but in the output of both nos. Second no was automatically set to 8 always Why is it happening
2 Answers
+ 1
Thanks
- 1
Cin >> var >> var;