#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
int x = -1;
printf("Enter 'x': ");
scanf("%d", &x);
int x_3 = 1;
for (int i = 0; i < 3; ++i)
x_3 *= x;
float drob = ((float)((x * 2) + x_3)) / 2;
float result = drob - x;
printf("Result: %.2f\n", result);
if (result == 0)
printf("Hello!");
return 0;
}