Hello, I'm writing this simple program using continuous if statements. Although it seems to me that I've written everything correctly, when I compile it, there are several errors. I'm a beginner and I don't quite understand yet how to spot and fix my errors. Some insight would be greatly appreciated.
// This program calculates boiling point and freezing point
#include <iostream>
using namespace std;
int main () {
int temperature, alcohol, mercury, oxygen, water;
cin >> temperature;
if (temperature <= -173)
cout << "alcohol freezes\n";
if (temperature >= 172)
cout << "alcohol boils\n";
if (temperature <= -38)
cout << "mercury freezes\n";
if (temperature >= 676)
cout << "mercury boils\n";
if (temperature <= -362)
cout << "oxygen freezes\n";
If (temperature >= 306)
cout << "oxygen boils\n";
If (temperature <= 32)
cout << "water freezes\n";
If (temeprature >= 212)
cout << "water boils\n";
return 0;
}