Почему значение float после запятой меняетсяC++

Программы на C++. Форум разработчиков
Гость
Почему значение float после запятой меняется

Сообщение Гость »

Код: Выделить всё

float b;     printf("give us the float nummber \n");     scanf("%f",&b);     printf("the value of the float is %f\n",b); 
I intered the value of a float and expect from the C code to give it back to me exactlly how it is


Источник: https://stackoverflow.com/questions/781 ... oma-canges

Вернуться в «C++»