write a program which inputs three numbers and outputs the message SORTED if the numbers are in ascending order, and output NOT SORTED if otherwise.
#include <conio.h>
#include <iostream>
using namespace std;
void main()
{
int a, b, c;
cout << "Input 3 numbers: ";
cin >> a >> b >> c;
if (c > b && b > a)
cout << "SORTED" << endl;
else
cout << "NOT SORTED" << endl;
_getch();
}