if (condition) {
// block of code to be executed if the condition is true
}
#include <iostream>
include namespace std;
int main() {
int flourBagCount = 16;
if (flourBagCount < 15) {
cout << "There are not enough bags of flour in inventory."
} else {
cout << "There are enough bags of flour in inventory."
}
}
int x = 20;
int y = 18;
if (x > y) {
cout << "x is greater than y";
}