#include "stdafx.h"
#include <iostream>
int main()
{
double input,result;
setlocale(LC_CTYPE, "rus");
do{
std::cout << "Введите число для перевода" << std::endl;
std::cin >> input;
if (input == 9999)
break;
else
{
result = (input - 32) / 2 + ((input - 32) / 2)/10;
std::cout << result << std::endl;
}
} while (1);
system("pause");
return 0;
}