New course! Every coder should learn Generative AI!
Try a free lesson0
How to use cin in the code play ground
1 Answer
+ 1
it's better not to. When I need input from user, I just assign the variables in the program and whoever wants, can modify there.
The Playground input method is... ugly, imo