13. Write a program in C++ to accept two
values and check which number is greater?
Answers
Answered by
0
Answer:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double num1, num2;
cout << "Enter your first number: ";
cin >> num1;
cout << "Enter your second number: ";
cin >> num2;
cout << max(num1, num2);
return 0;
}
PLEASE MARK MY ANSWER AS THE BRAINIEST
Similar questions