C++ , Why false | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuestas
+ 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