#include<iostream.h> int main() { for(int i=0; i<10; i++) if(i&2) cout<<i; } | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

#include<iostream.h> int main() { for(int i=0; i<10; i++) if(i&2) cout<<i; }

...f...

9th Dec 2019, 5:43 AM
Mahmoud Taher
Mahmoud Taher - avatar
1 Antwort
+ 1
Kindly learn about bitwise AND operator and solve the "if" for yourself.
9th Dec 2019, 5:54 AM
Avinesh
Avinesh - avatar