/C Program to Propose a girl/ #include
include
define Cute beautiful_lady
main() { goto college; scanf("100%",&ladies);
if(lady ==Cute) line++; while( !reply ) {
printf("I Love U");
scanf("100%",&reply);
}
if(reply == "GAALI") main(); / go back and repeat the process /
else if(reply == "SANDAL ") exit(1);
else if(reply == "I Love U") { lover =Cute ; love = (heart*)malloc(sizeof(lover)); } goto restaurant; restaurant:{ food++; smile++; pay->money = lover->money; return(college); } if(time==2.30) goto cinema; cinema: { watch++; if(intermission){ coke++; Popecorn++;} } if(time ==6.00) goto park; park: { for(time=6.30;time<= 8.30;time+=0.001) kiss = kiss+1; } free(lover); return(home);
}
Responses
Login to add comments on this post.
- Guest 11 years ago
public class PradeepMarriage {
public static final String[] PradeepXGirlFriend = {"Poornima","Sweatha","XXX","..."}; static boolean girlIsOKForPradeep; public static void main(String arg[]) { pradeepFindGirl(); } private static boolean pradeepFindGirl() { Girl newGirl= getGirl(); boolean isNameAcceptable = true; if(newGirl.age > 18 && newGirl.age < 25) { isNameAcceptable = validateGirlName(newGirl.name); //Ignore the girls if name exist in his XGirl friends list //This is to avoid confusion if(isNameAcceptable){ if (newGirl.isGoodLooking) { System.out.println("Pradeep is ver happy"); }else{ System.out.println("Its OK for pradeep so continue"); } } if (newGirl.isKnowntoKarthick && newGirl.isKarthickKnownToHerFriends) { girlIsOKForPradeep = false; pradeepFindGirl(); }else{ System.out.println("Pradeep will go behind the girl with chococlate,flower,chain and other gift"); System.out.println("Pradeep proposes"); String response = "No"; if(response == "NO"){ pradeepFindGirl(); }else if(response == "Sandals"){ System.out.println("Pradeep Run away for life"); pradeepFindGirl(); } } } return true; } private static boolean validateGirlName(String name) { boolean isNameOK = true; for (int i = 0; i < PradeepXGirlFriend.length; i++) { if(!name.equalsIgnoreCase(PradeepXGirlFriend[i])) { isNameOK = false; } } return isNameOK; } private static Girl getGirl() { Girl girl = new Girl(); return girl; }
}
public class Girl { int age; int height; String name; boolean isGoodLooking; boolean isKnowntoKarthick; boolean isKarthickKnownToHerFriends; }