+ 1
Can you help me ?
https://sololearn.com/compiler-playground/cClTYPQ83i1f/?ref=app
4 odpowiedzi
+ 1
Alban look closely at the cin statement. What do you see that is missing?
int valeurs, valeurs1, valeurs2;
cin>>valeurs>>valeurs>>valeurs;
0
No I don't see it what is it ?
0
The statement is taking three inputs and streaming all three values into the same variable, valeurs.
Was your intention instead to fill all three variables? Then add the missing numbers in the variable names, like this:
cin>>valeurs>>valeurs1>>valeurs2;
0
Oh thanks I didn't saw it but it still wrong because it takes 1 input instead if 3