Lee_assig1_Cost - double C=215000+15*x+8*x*x cout<<...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 #include<iostream> using namespace std int main () { double x cout<< "Cost in thousands (x): " cin>> x
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: double C=215000+15*x+8*x*x cout<< "The Cost is " << C <<endl return 0 } note: no commas in 215000...
View Full Document

This note was uploaded on 05/16/2010 for the course CISCO EST61 taught by Professor Miller during the Spring '10 term at Fresno City College.

Ask a homework question - tutors are online