Q2 / Read the following code carefully, and then program the same idea using if-else-if ladder. #include int main() { double x,y; cin >> x >> y; if(xy)cout


Q2 / Read the following code carefully, and then program the same idea using<br>if-else-if ladder.<br>#include <iostream.h><br>int main()<br>{<br>double x,y;<br>cin >> x >> y;<br>if(x<y)cout<<y)cout<"x is="" greater="" than="" y";="" return="" 0;="" "/="">
Extracted text: Q2 / Read the following code carefully, and then program the same idea using if-else-if ladder. #include int main() { double x,y; cin >> x >> y; if(x<><"x is="" less="" than="" y";="" if(x=""><"x is="" equal="" to="" y";="" if(x="">y)cout<"x is="" greater="" than="" y";="" return="">

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here