Untitled
Anonymous
plain_text
12/17/2022 4:11 PM
520 B
26
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...