+ 1
Write a program that prints from 0-50 excluding 5 using dev c++
2 Respuestas
+ 3
Edit: ups i read it wrong... so should print everything from 0 to 50 except for 5
#include <iostream>
using namespace std;
int main() {
for(int i = 0; i < 51; i++){
if(i != 5){
cout << i << endl;
}
}
return 0;
}
+ 3
@Chinonso
https://youtu.be/KHQewSr6c2o