Remember to checkout the Codesnip below to review the C++ code yourself! Feel free to copy the code, but I ask that you please provide credit if you leave the code unchanged when you use it.
//Programmer: Nazmus //Program: Temperature Table Display //Website: EasyProgramming.net #include<iostream> #include<iomanip> using namespace std; void main() { float celsius, fahrenheit, kelvin; cout << setw(15) << "Celsius" << setw(18) << "Fahrenheit" << setw(15)<< "Kelvin" <<endl; for(celsius=0;celsius<=100;celsius=celsius+10){ fahrenheit = (9/5.) * celsius + 32; kelvin = celsius + 273.; cout << setw(15) << celsius << setw(18) << fahrenheit << setw(15)<< kelvin << endl; } system("pause"); }