quiz5 -...

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

View Full Document Right Arrow Icon
#include <iostream> using namespace std; int main () { int num1, num2; cout<< "Enter two numbers separated with aspace: " <<endl; cin>> num1>>num2; if (num1 < num2)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cout&lt;&lt;num1&lt;&lt; &quot; is less than &quot; &lt;&lt;num2&lt;&lt;endl; else cout&lt;&lt;num1&lt;&lt; &quot; is Greater than &quot; &lt;&lt;num2&lt;&lt;endl; cout&lt;&lt; &quot;GoodBye&quot; &lt;&lt;endl; return 0; }...
View Full Document

Ask a homework question - tutors are online