Monday, June 3, 2013

[Using Code] How to prepare Maggie with your roommate

Read an old written code, felt nostalgic, and wanted to share. So here it goes...


//Coded in C
#include<Prabodh.h> //You can use any of your roommates header
#include<kettle.h>
#include<Water.h> //Never bring it use function askRoomMateToBringWater() in Prabodh.h
int main(int argc, char *argv[]){
    int maggie,masala;
    float water;
 
    printf("Enter Number of maggies to be cooked");
    scanf("%d",&maggie);//Maggie can only be integer
    if(askRoomMateToBringWater("please bring water")=="Fuck off"){
        while(askRoomMateToBringWater("I will eat all maggie if you will not bring water")!="Ok");
    }
    if(heatWater()){
        while(askRoomMateToTearMaggieMasala("Please")!="Ok");
        if(checkRoomMateDidNotAteMasala()){
            printf("Good!!");
        }
        else{
            printf("Shit!! PP you are not getting your share");
        }
    }
    putMaggieInHotWater();
    askRoomMateToStirIt(10);//void askRoomMateToStirIt(int timeInMinutes);
    if(JivePoster()=="glossy"){
        useItAsPlate();
    }
    else{
        if(askRoomMateToWashUtensils("Please")=="Ok")
        eatMaggie();
        else
        while(askRoomMateToWashUtensils("I will eat all maggie if you will not clean it")!="Ok");
        eatMaggie();//yummmmm!!
    }
}
int heatWater(void){
    int temprature=getTem();
    if(temprature>200){
        return true;
    }
    else{
        heatWater();
    }
}

3 comments: