From 8a8fac12142c20d4321a71db43109ef194adbaeb Mon Sep 17 00:00:00 2001 From: tafaar Date: Tue, 8 Nov 2022 18:03:43 -0800 Subject: more format editing --- BlankConsoleLab/BlankConsoleLab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BlankConsoleLab/BlankConsoleLab.cpp') 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; -- cgit v1.2.3