Write a program in C++ to enter two numbers and print greatest number?
Answers
Answered by
1
Answer:
In the below written C++ program, we used the Else if statement to find the largest of two. If (x > y), the first if condition check whether x is greater than y. If true, x is greater than y. Next, else if(y > x) check whether y is greater than x.
Answered by
0
Explanation:
this is your answer ok .mate
Attachments:
Similar questions