diff options
| author | James Lawrance <[email protected]> | 2021-10-09 09:57:27 -0700 |
|---|---|---|
| committer | James Lawrance <[email protected]> | 2021-10-09 09:57:27 -0700 |
| commit | 712a8a14a305966b70da73c1bf5bb30e886af577 (patch) | |
| tree | 807b89797c1b8ed7d91bb8d0579d182f7e5e2012 | |
| parent | Lab 2 work (diff) | |
| download | cst116-lab2-jemersonlawrance-712a8a14a305966b70da73c1bf5bb30e886af577.tar.xz cst116-lab2-jemersonlawrance-712a8a14a305966b70da73c1bf5bb30e886af577.zip | |
| -rw-r--r-- | CST116F2021-Lab2/CST116F2021-Lab2.cpp | 62 |
1 files changed, 61 insertions, 1 deletions
diff --git a/CST116F2021-Lab2/CST116F2021-Lab2.cpp b/CST116F2021-Lab2/CST116F2021-Lab2.cpp index 93da427..3d14b11 100644 --- a/CST116F2021-Lab2/CST116F2021-Lab2.cpp +++ b/CST116F2021-Lab2/CST116F2021-Lab2.cpp @@ -2,6 +2,7 @@ // #include <iostream> +#include <iomanip> using namespace std; // int main() @@ -39,4 +40,63 @@ using namespace std; // return 0; - //};
\ No newline at end of file + //}; + +//int main() +//{ +// float temp = 0; + +// cout << "Input temperature: "; +// cin >> temp; +// cout.setf(ios::fixed);; +// cout << setprecision(1) << setw(6) << temp; + + +// return 0; +//}; + +//int main() +//{ +// cout << "Bob"; +// cout.width(10); +// cout << "3.23"; +// cout.width(15); +// cout << "Freshman"; +// cout.width(30); +// cout << "Software Engineering\n"; +// +// cout << "Jamie"; +// cout.width(10); +// cout << "0.98"; +// cout.width(15); +// cout << "Freshman"; +// cout.width(30); +// cout << "Underwater Basket\n"; +// +// cout << "Marcus"; +// cout.width(10); +// cout << "4.00"; +// cout.width(15); +// cout << "Freshman"; +// cout.width(30); +// cout << "Management\n"; +// +// cout << "Phong"; +// cout.width(10); +// cout << "3.75"; +// cout.width(15); +// cout << "Junior"; +// cout.width(30); +// cout << "Encryption\n"; + +// cout << "Webster"; +// cout.width(10); +// cout << "2.00"; +// cout.width(15); +// cout << "Sophomore"; +// cout.width(30); +// cout << "Wildlife Management\n"; + +// return 0; +//} + |