Untitled
unknown
plain_text
3 years ago
390 B
7
Indexable
#include <iostream>
#include <cmath>
#include <vector>
using namespace std;
int main() {
float a;
setlocale(LC_ALL, "RUS");
cout << "Температура в градусах цельсия:"; cin >> a;
cout << "Температура в кельвинах:" << a + 273 << '\n';
cout << "Температура в фаренгейтах:" << a * 1.8 + 32;
}
Editor is loading...