{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Example2_13 - cout<<"sale ="<< 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

{[ snackBarMessage ]}