{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lee_assig4a - if(A<=B cout<<"A...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include<iostream> #include<cmath> using namespace std; //Cheu Lee HmWrk 4A int main () { int A,B,M; cout<<"Enter Two Intergers: "; cin>>A>>B;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: if(A<=B) cout<<"A = " <<A<< "B = " <<B; if(A>B) { M=A; A=B; B=M; cout<<"A= "<<A<<"B= "<<B<<endl; } return 0; }...
View Full Document

{[ snackBarMessage ]}