Re-write the following program by changing ternary / conditional operator to if-else statement. #include using namespace std; int main() { int Num1, Num2, Num3; cout>Num2; cout>Num3; (Num2


Re-write the following program by changing ternary / conditional

operator to if-else statement.


#include

using namespace std;
int main()

{

int Num1, Num2, Num3;
cout<”enter the="" first="">
cin>>Num2;
cout<”enter the="" second="">
cin>>Num3;
(Num2
cout<”the smallest="" number="" is:=""><>
return 0;
}



Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here