How to declare variables | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 1

How to declare variables

Which co de can I type in to declare variable "b" if "a=15" , when the output << a_b<<endl;

8th Jun 2019, 12:17 AM
Henry K. Ernst
Henry K. Ernst - avatar
2 Respostas
+ 1
you use int there's C++ course in SoloLearn and it's fun to learn
8th Jun 2019, 7:11 AM
ā€ŽŁˆŲ§Ų¦Ł„ Ų¹ŲØŲÆ Ų§Ł„Ų­Ł‚ā€Ž
ā€ŽŁˆŲ§Ų¦Ł„ Ų¹ŲØŲÆ Ų§Ł„Ų­Ł‚ā€Ž - avatar
0
int a = 15; int b = (something); Cout << a - b;
8th Jun 2019, 9:18 AM
gil gil