Код: Выделить всё
0.5760
Код: Выделить всё
#include
using namespace std;
int main() {
// -- Code
float a1 = 0.5760;
float result1 = a1 * 10000;
float b = 5760;
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79703825/multiplying-a-float-and-casting-the-result-to-an-unsigned-int-is-leading-to-a-we[/url]