0

How can I instruct user before accepting input from user in c++ sololearn playground?

When you code like, say, cout << enter first number; cin >> k; Input box is shown which reads looks like this program need input. But how can I instruct before accepting input?

26th Aug 2019, 8:57 AM
Laukik Shah
Laukik Shah - avatar
2 ответов
+ 3
What you can do, is to write as comments within your code, a summary of how your program works, what is supposed to be input. As has been mentioned, Code Playground does not provide a live console.
26th Aug 2019, 9:36 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
It can't do that if you using SoloLearn's console.
26th Aug 2019, 8:59 AM
Uchiha Itachi
Uchiha Itachi - avatar