+ 2

I am not understanding why the output is coming different when the numbers changed and how they are linked to each other

#include <iostream> using namespace std; int main() { int num = 1; while (num < 6) { cout << "Number: " << num << endl; num = num + 3; } return 0; }

28th Dec 2017, 4:05 PM
TECHNICAL PROGRAMMER
TECHNICAL PROGRAMMER - avatar
5 Réponses
+ 2
Hey, could you provide some context i.e a link to the code you are talking about so we can possibly help you?
28th Dec 2017, 4:10 PM
Tarantino
Tarantino - avatar
+ 1
hey I have provided it in my description
28th Dec 2017, 4:14 PM
TECHNICAL PROGRAMMER
TECHNICAL PROGRAMMER - avatar
0
pls send the code let's check em
28th Dec 2017, 4:29 PM
Android Boi
Android Boi - avatar
0
bro I got the ans
28th Dec 2017, 4:33 PM
TECHNICAL PROGRAMMER
TECHNICAL PROGRAMMER - avatar