0

What's the problem in this code,some one clear this,using for loop

#include <iostream> using namespace std; int main() { int i; cout <<"all even numbers less than 75"; for(i=0;i<=75;i+2) cout<<i<<"\t"; return 0; }

12th Mar 2022, 10:10 AM
muhammed yaseen
muhammed yaseen - avatar
2 Respostas
+ 3
i +=2
12th Mar 2022, 10:13 AM
Simba
Simba - avatar
+ 1
Simba tnx
12th Mar 2022, 2:37 PM
muhammed yaseen
muhammed yaseen - avatar