#include <iostream>
using namespace std;

int main() {
    double celsius;
    double fahrenheit;
    double kelvin;
    
    cout << "Ingrese la temperatura en grados Celsius: "<< endl;
    cin >> celsius;
    
    fahrenheit = (celsius * 9.0 / 5.0) + 32.0; 
    kelvin = celsius + 273.15; 
    
    cout << "Temperatura en celsius: " << celsius << endl;
    cout << "Temperatura en Fahrenheit: " << fahrenheit << endl;
    cout << "Temperatura en Kelvin: " << kelvin << endl;
    
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: