#include <iostream>
int main()
{
int num;
std::cout << "enter a number: ";
std::cin >> num;
if(num > 50)
std::cout << "yes" << std::endl;
else
std::cout << "no" << std::endl;
std::cin.get();
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <iostream>
int main()
{
int num;
std::cout << "enter a number: ";
std::cin >> num;
if(num > 50)
std::cout << "yes" << std::endl;
else
std::cout << "no" << std::endl;
std::cin.get();
return 0;
}