Example2_13 - cout << "sale = " <<...

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

View Full Document Right Arrow Icon
#include <iostream> #include <string> using namespace std; u int main() { int i, j; double sale; char first; string str; i = 4; cout << "i = " << i << endl; j = 4 * 5 - 11; cout << "j = " << j << endl; sale = 0.02 * 1000;
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 << "sale = " << sale << endl; first = 'D'; cout << "first = " << first << endl; str = "It is a sunny day."; cout << "str = " << str << 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