I made this code in C++ a few years ago, can someone please tell me why it doesn't work? I remember that it worked | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

I made this code in C++ a few years ago, can someone please tell me why it doesn't work? I remember that it worked

Int a; Int b; Int sum; Cout << ā€œenter a numberā€; Cin = a; Cout << ā€œenter another number=ā€; Cin = b; Cout << sum = a + b; Return 0;

12th Dec 2017, 10:14 PM
Swaghetti Prime
Swaghetti Prime - avatar
2 Respostas
+ 3
change it to: int a; int b; int sum; cout << ā€œenter a numberā€; cin >> a; cout << ā€œenter another number=ā€; cin >> b; sum = a + b; cout << sum; return 0;
12th Dec 2017, 10:26 PM
John Wells
John Wells - avatar
+ 1
Thank you John
15th Dec 2017, 4:32 PM
Swaghetti Prime
Swaghetti Prime - avatar