Starve , Stuff ?

13 04 2008

“Starve a fever, Stuff a cold” goes the saying. A more popular variant seems to be, “Starve a fever, Feed a cold”.

Fever

Ruddy issue is, I always seem to get both together. Whenever I get a fever, a cold accompanies.

Cold

Now, the issue is, do I starve or do I stuff myself ? I have always been bad at decision making, but this looks like a dead end to me. To illustrate the gravity of the issue, let me write a pseudocode, (you guys can later write a program out of it) :)

if(variable ==fever)

{

Starve;

}

else if(variable ==cold)

{

Stuff yourself;

//preferable at others’ expense ;)

}

Predict the output of the above pseudocode.

P.S: Answers to the effect of first starve yourself and then stuff yourself will be scorned upon.

Revised Psuedocode**:

flag=0;

variable1=fever;

variable2=cold;

While(flag=0)

{

if(variable1 == fever && variable2!=cold)

{

starve;

flag=1;

}

if(variable1!=fever && variable2==cold)

{

stuff yourself;

//At shiva’s expense ;)

flag=1;

}

}

**Rewritten on insistence from Shiva :)

Also, the whole point of the psuedocode was pointlessness. There was no point to it to start with.