Write a C++ program to check if the number is greater than 20
Answers
Answered by
3
#include <iostream>
using namespace std;
int main() {
int a;
a=18;
if(a >= 20){
cout<<"it is less than 20";
}
else{
cout<<"greater than 20";
}
return 0;
}
Similar questions