{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lengthwidthdouble - using namespace std u int main i double...

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

{[ snackBarMessage ]}