Example2_8 - cout << "4...

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

View Full Document Right Arrow Icon
#include <iostream> # using namespace std; u int main() { cout << "3 / 2 + 5.5 = " << 3 / 2 + 5.5 << endl; cout << "15.6 / 2 + 5 = " << 15.6 / 2 + 5 << endl;
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; &quot;4 + 5 / 2.0 = &quot; &lt;&lt; 4 + 5 / 2.0 &lt;&lt; endl; cout &lt;&lt; &quot;4 * 3 + 7 / 5 - 25.5 = &quot; &lt;&lt; 4 * 3 + 7 / 5 - 25.5 &lt;&lt; endl; return 0; }...
View Full Document

This note was uploaded on 03/08/2011 for the course CSIT 139 taught by Professor Duzut during the Spring '11 term at Los Angeles City College.

Ask a homework question - tutors are online