★Programmer's Approach... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

★Programmer's Approach...

An optimist says– The glass is half-full... A pessimist says– The glass is half-empty... And a programmer says– The glass is twice as large as necessary... This is called logical thinking... So appreciate yourself that u r a programmer...^_^ Please like if u agree...

21st Jan 2017, 7:08 PM
★★★
2 Answers
+ 7
A physicist says -- The glass is full: half water, half air.
22nd Jan 2017, 5:05 AM
Igor B
Igor B - avatar
+ 3
the while loop says to if statement, are you drinking from the glass or pouring water into it when the question is asked.
22nd Jan 2017, 5:43 AM
Andre van Rensburg
Andre van Rensburg - avatar