0
How I add more than one value to fill in output?
Like: #include <iostream> using namespace int=a; int=b; int main() { cin>>a; cin>>b; } (does this ask you for one single value or two)
5 Respostas
+ 4
Keep in mind this will not work in code playground. Unfortunately code playground only allows one input from the user. So, if you want to use cin two or more times, I suggest using a different compiler.
+ 10
You can input multiple values to the variables in your example, using Code Playground. Split multiple input into different lines.
E.g. When the output box is shown, input:
12
14
12 will be stored into variable a, and 14 into variable b.
+ 2
It asks you for 1 line at a time. So youd enter A, press enter, and then youd enter B
0
Thank's (im new in this)
0
now everything make sense lol thanks