Computer Science, asked by kalyanikannoju80, 17 days ago

1. Write a program to check whether the given number is less than 20 using if statement.

2. Write a program to find smallest of three numbers using if else if statement.

I you know the answer only answer it or aless I will report it ​

Answers

Answered by resmiskalapurackal
1

Answer:

using cpp

Explanation:

#include <iostream>

using namespace std;

int main

{

int a;

cout<<enter number="<<endl;

cin>>a;

if(a<20)

{

cout<<a<<"lesser than 20"<<endl;

}

else

{

cout<<a<<"is greater than 20"<<endl;

}

return 0;

}

Similar questions