if not c++
Language: C++
#include <iostream>
int main() {
int x = 5;
if (x < 10) {
std::cout << "x is less than 10";
} else {
std::cout << "x is greater than or equal to 10";
}
return 0;
}
Language: C++
#include <iostream>
int main() {
int x = 5;
if (x < 10) {
std::cout << "x is less than 10";
} else {
std::cout << "x is greater than or equal to 10";
}
return 0;
}