Computer Science, asked by armman2364, 1 year ago

Write a C++ program to check if the number is greater than 20

Answers

Answered by computeruserof
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