Test Code
Code
#include "stdafx.h"
#include <stdio.h>
#include <conio.h>
void main()
{
int a, b, c;
printf("Введите два целых числа \n");11111
scanf("%d%d",&a,&b);
c = a+b;
printf("результат %d + %d = %d \n",a,b,c);
printf("результат %d + %d = %d \n",a,b,a+b);
int i;
float x;
i = 7;
//x = i / 4;
//x = i / 4.;
x = (float)i / 4;
//x = 7. / 4.;
getch();
}