Re-write the following program by changing ternary / conditionaloperator to if-else statement.
#includeusing namespace std;int main(){int Num1, Num2, Num3;cout<”enter the="" first="">”enter>cin>>Num2;cout<”enter the="" second="">”enter>cin>>Num3;(Num2cout<”the smallest="" number="" is:="">”the><>return 0;}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here