#include <iostream> using namespace std; int main() { int num = 1; int number; int total = 0; while (num <= 5) | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
- 2

#include <iostream> using namespace std; int main() { int num = 1; int number; int total = 0; while (num <= 5)

Please tell me the use of 'variable' number here

6th Feb 2021, 11:17 AM
Human
Human - avatar
2 Respuestas
+ 2
Can you send more details about your code? 'number' is an integer that will be assigned to a value later on in your program.
6th Feb 2021, 11:31 AM
noteve
noteve - avatar
6th Feb 2021, 11:25 AM
JaScript
JaScript - avatar