This one was easy because I did it only by reading the book.

#include <iostream>
using namespace std;

int main(){

double x;
cout << “Introducir grados farenheitn”;
cin >> x;
double y = (5.0/9.0) * (x – 32.0);
cout << “La temperatura es = ” << y << ” C°” << “n”;
if (y >= 100.0){
cout << “El agua es vapor”;}
else if (y <= 0.0){
cout << “El agua es solida”;}
else if (y){
cout << “El agua es liquida”;}
return 0;
}

This is the program.

Termometro gigante en la playa de Gijon

https://www.flickr.com/photos/reservasdecoches/

CC BY 4.0 #WSQ05 by alan46bc is licensed under a Creative Commons Attribution 4.0 International License.