If i use, if (7=4) {cout <<"yes"} It shows error instead of " No output" Why?? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

If i use, if (7=4) {cout <<"yes"} It shows error instead of " No output" Why??

27th Jul 2019, 3:36 PM
Aryan
Aryan - avatar
3 Réponses
+ 2
You should use "==" instead of assignment operator, I think.
27th Jul 2019, 3:40 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
Aryan you are welcome 😉
27th Jul 2019, 4:04 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
Thanks
27th Jul 2019, 4:04 PM
Aryan
Aryan - avatar