+ 1
How do the if else condition works
3 Respuestas
+ 1
if (condition) {
stuff to do if condition is true
} else {
stuff to do if condition is false
}
Example:
bool isEven(int n) {
if (n % 2 == 0) {
return true;
} else {
return false;
}
}
- 3
https://www.python.org/downloads/