cin - cout<<"pow"<< pow(x y<< endl...

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 x, y; cout << "x: "; cin >> x; cout << "y: "; cin >> y; cout << "sum " << x + y << 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 << "pow " << pow(x, y) << endl; cout << "1/x " << 1 / x << endl; cout << "1.0/x " << 1.0 / x << endl; }...
View Full Document

This note was uploaded on 10/28/2010 for the course CSCI 1113 taught by Professor Staff during the Spring '08 term at Minnesota.

Ask a homework question - tutors are online