{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW1 Pro 2.cpp - #include #include using...

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

View Full Document Right Arrow Icon
#include <iostream> #include <iomanip> using namespace std; int main() { cout << fixed << setprecision(1) << setw(6) <<3.0<< endl <<"*"<< setw(5) <<5.0<< endl; cout <<"------\n"; cout << fixed << setprecision(2) << setw(6) <<3.00*5.00<<endl; cout <<"\n\n"; cout << fixed << setprecision(1) << setw(6) <<7.1<< endl <<"*"<< setw(5) <<8.3<< endl <<"-"<< setw(5) <<2.2<< endl;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}