Int a=15 int b= cout<<a_b<<endl; | SoloLearn: Learn to code for FREE!

0

Int a=15 int b= cout<<a_b<<endl;

help pls

1/25/2018 5:18:52 PM

Gaby Hotomanul

5 Answers

New Answer

+5

Interesting code. What is a_b? Missing ; after 15. I assume Int is due to autocorrect and was coded as int. Please link actual code to question. It is hard to help this way.

+2

Since I used all of the shortcuts in C++, I wouldn't have known that. You got it backwards b=a

+1

@John Wells This is actually a question from the first chapter in the C++ course from Sololearn, not really a code. @Gaby You have to assign the value of a to b, so int b = a; And if you want to print their sum, as stated in the exercise, cout << a + b << endl;

+1

thank you

0