#include <iostream> using namespace std; int main() { int i; for(i=1;i<=6;i+=3) { cout<<i; } return 0; } hello guys pls tell me the output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

#include <iostream> using namespace std; int main() { int i; for(i=1;i<=6;i+=3) { cout<<i; } return 0; } hello guys pls tell me the output

18th Sep 2016, 2:23 PM
Krishna Vashista
Krishna Vashista - avatar
2 Answers
+ 3
Output is: 1 4
18th Sep 2016, 2:29 PM
Shahid Islam
Shahid Islam - avatar
0
thanx
18th Sep 2016, 3:46 PM
Krishna Vashista
Krishna Vashista - avatar