C++ , Why false | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

C++ , Why false

Can anyone explain me this program logic ?? Double a=0.1; Double b=0.2; Double c =0.3; If(a+b==c) Cout<<"true"<<endl; Else Cout<<"false"<<endl;

26th Jun 2021, 1:12 AM
Nitin Bisht
Nitin Bisht - avatar
3 ответов
+ 1
visph Simba thank you so much I thought my ide is not working properly lol it's a joke btw thank you
26th Jun 2021, 1:32 AM
Nitin Bisht
Nitin Bisht - avatar