0

What am I doing wrong?

Can somebody view this and tell me what Iā€™m doing wrong? Idk what Iā€™m doing... https://code.sololearn.com/ci7ZM86SZphP/?ref=app

25th Aug 2020, 5:17 PM
Madelyn
3 Answers
+ 1
Hey Madelyn you forgot to print 'a' in your code.
25th Aug 2020, 6:55 PM
minirkk
minirkk - avatar
+ 2
int a = 3; --a; // decrement the value of a by 1 so a becomes 2 here. a *= 4; // This is equivalent to a = a * 4 = 2 * 4 = 8 cout << a << endl; // prints 8 as output.
25th Aug 2020, 5:19 PM
minirkk
minirkk - avatar
0
MY TEACHER IS TERRIBLE IDEK WHAT Iā€™M DOING
25th Aug 2020, 5:17 PM
Madelyn