¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita+ 1
Odd variables
how to say (if the variable is odd) in c++
2 Respuestas
+ 6
cin>>num;
if (num % 2 != 0)
cout<<"odd number";
+ 2
if (var % 2 != 0){
cout<<"Odd"
}