#include #include #include using namespace std ; int main() { int lowRange ; int highRange ; printf( "Print the lower range:" ) ; //scanf( "%d" , &lowRange ) ; cin >> lowRange ; printf( "Print the higher range:" ) ; cin >> highRange ; //scanf( "%d" , &highRange ) ; //printf ( "%-10s %-10s\n" , "C" , "F" ) ; cout << left ; cout << setw(11) << "C" << setw(10) << "F" << endl ; for( int i1=lowRange ; i1 <= highRange ; i1++ ) { //printf ( "%-10d %-10.2f\n" , i1 , (i1*1.8 + 32.0 ) ); cout << setw(11) << i1 ; cout << fixed << setprecision(2) << setw(10) << (i1*1.8 + 32.0 ) << endl ; } return 0; }