lengthwidthdouble - # using namespace std; u int main () i...

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

View Full Document Right Arrow Icon
/* Write a program that declares two varibles called length and width sets them to 11.123 and 7.456 respectively and prints theis values in a sentence */ s #include <iostream>
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: # using namespace std; u int main () i { double length = 11.123; double width = 7.456; d cout<< "The length is " <<length<< " and the width is " <<width<< ".\n" ; c }...
View Full Document

This note was uploaded on 01/11/2010 for the course CMPSC 101 taught by Professor Drobish,renee during the Summer '07 term at Pennsylvania State University, University Park.

Ask a homework question - tutors are online