Where do i enter the number to be inserted into the variable? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Where do i enter the number to be inserted into the variable?

28th Dec 2017, 12:14 AM
Isaac Gan
9 Answers
+ 2
Could you elaborate more? For example, what programming language are you talking about?
28th Dec 2017, 12:16 AM
Spencer
+ 2
So you want to know where to enter input when running this program?
28th Dec 2017, 12:22 AM
Spencer
+ 2
You can just run the program in SoloLearn and I think it should just ask for input.
28th Dec 2017, 12:24 AM
Spencer
+ 2
You should be able to click on the Try It Yourself then click run and an input box should come up asking for a value, which you can type in.
28th Dec 2017, 12:31 AM
Spencer
+ 2
OK, have fun coding!!!
28th Dec 2017, 12:37 AM
Spencer
0
c++ example cout<<"please enter a number"; cin>>a;
28th Dec 2017, 12:18 AM
Isaac Gan
0
yes
28th Dec 2017, 12:23 AM
Isaac Gan
0
The problem I am having is where to enter input. Im running the sololearn c++ app and in the variables section, accepting user input, "try it yourself"
28th Dec 2017, 12:28 AM
Isaac Gan
0
That worked. I was thinking I had to enter input into the actual code somewhere.
28th Dec 2017, 12:33 AM
Isaac Gan