diff options
| author | tafaar <[email protected]> | 2022-11-08 18:03:43 -0800 |
|---|---|---|
| committer | tafaar <[email protected]> | 2022-11-08 18:03:43 -0800 |
| commit | 8a8fac12142c20d4321a71db43109ef194adbaeb (patch) | |
| tree | d1b11bd139f42823a641218ba2bb2a2c8a7cc2a1 /BlankConsoleLab/BlankConsoleLab.cpp | |
| parent | formatting editing (diff) | |
| download | cst116-lab2-hill-8a8fac12142c20d4321a71db43109ef194adbaeb.tar.xz cst116-lab2-hill-8a8fac12142c20d4321a71db43109ef194adbaeb.zip | |
more format editing
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index a110688..1620263 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -130,7 +130,7 @@ int main() cout << "\nConversions for " << tempInput << tempSystem << " with wind speed " << windSpeed << "MPH." << endl; - cout << setprecision(2) << fixed << left; + cout << setprecision(2) << fixed << left << setw(20); cout << setw(colWidth) << "\nCelsius" << setw(colWidth) << "Fahrenheit" << setw(colWidth) << "Wind Speed" << setw(colWidth) << "Wind Chill (F)" << setw(colWidth) << "Wind Chill (C)" << endl; cout << setw(colWidth) << tempCelsius << setw(colWidth) << tempFahrenheit << setw(colWidth) << windSpeed << setw(colWidth) << windFahrenheit << setw(colWidth) << windCelsius << endl; |