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 ответов
+ 1
Hey Madelyn you forgot to print 'a' in your code.
25th Aug 2020, 6:55 PM
RKK
RKK - 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
RKK
RKK - avatar
0
MY TEACHER IS TERRIBLE IDEK WHAT I’M DOING
25th Aug 2020, 5:17 PM
Madelyn