@Кудаив
330 / 407 / 24
Регистрация: 27.05.2012
Сообщений: 1,168
|
30.07.2013, 15:10
|
|
C++ | 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| #include <stdio>
#include <iostream>
#include <cstdlib>
using namespace std;
int main(int nNumberofArgs, char* pszArgs[])
{
int nNCelsius;
cout << " Temperatura po Celsiu ";
cin >> nNCelsius;
int nNFactor;
nNFactor = 212 - 32;
int nFahrenheit;
nFahrenheit = nNFactor * nNCelsius/100 + 32;
cout << "Temperatura po Farengeitu ";
cout << nFahrenheit;
system("pause");
return 0 ;
} |
|
0
|