The Programmer got stuck in the shower, why ? 🙄 | SoloLearn: Learn to code for FREE!

+132

The Programmer got stuck in the shower, why ? 🙄

Because the instructions on the Shampoo Botel said Lather, Rinse, Repeat 😜😛😝 ///////////////////////////// Join Whatsapp Group of Programmers 💻 http://www.sololearn.com/app/sololearn/playground/WoRKfVStF7Mn/ 💬 Submit

11/9/2016 7:19:56 AM

AlamSirji

38 Answers

New Answer

+89

a programmer was sent to buy milk by his mom, she told him if they have eggs bring 6 and he brought 6 bottles of milk

+23

@Alam Sirji while(shampoo>0)

+18

To a programmer that instruction is like a while loop, where you have to keep (Repeat) Rinsing while there's still Lather. NB: This can not be an infinite loop since the lather will be completely cleaned out at some point

+17

while(shampoo>0) { 🛁 Programmer (🚶) 🚿 }

+13

UPDATE //rinse is a function void rinseUp(){ cout<<"rinsing\n"; } int main(){ //humanSize/height to be 185 int humanSize = 185; int latter; //for loop to show that latter is all over //the human for(latter = humanSize; latter >= 0; latter --){ rinseUp(); if(latter == 0){ cout<<"Done\n"; break; } } } try running it this should do the trick 😂😂😂😂😂😂😂

+6

Console.WriteLine ("XDDDDDDDD nice joke ");

+5

** ERROR REPORT ** A fatal error has occurred while trying to execute this command: Lather, rinse, repeat. reason: found loop in instructions can't execute this command!

+5

Join Whatsapp Group of Programmers 💻 http://www.sololearn.com/app/sololearn/playground/WoRKfVStF7Mn/ 💬 Submit

+4

comedy at it's finest

+4

void shower(){ lather(); rinse(); shower(); } Stack overflow!!!

+3

@Ibrahim Shah Khan Its Static situation with infinite loop. ⚓

+3

Thats what we call true programmer

+3

{ return ("to do shampoo") }

+2

That is a sticky situation

+2

@Ibrahim Shah Khan 😉

+2

😁😁😁

+2

ヽ(°◇° )ノ

+2

can we do advanced graphics using turtle?

+1

0

nailed it 😂😂