// 5.4_1_Schroeder.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include #include using namespace std; using std::setprecision; using std::ios; int main() { float temp = 0.0F; cout << "What is your temperature?\n"; cin >> temp; cout << "Your temp is:"; cout.width(6); cout.setf(ios::fixed); cout << setprecision(1) << temp; return 0; }