Post all:Funny Programming Source Codes HERE!!!

Status
Not open for further replies.

rakeshishere

HELP AND SUPPORT
Program to Propose a girl*/
#include<STD ISD PCO.h>
#include <mobile.h>
#include<sms.h>
#include<love.h>
#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++;

}
}
}

I Knew so many but dont remember them:(...Please Post them all u know..I love programming
 

zyberboy

dá ûnrêäl Kiñg
Here is one which i created some time ago, a Lovecalculator program created in Microsoft Visual C# 2005 Express Edition
the love calc algorithem used is based on a word FLAME. F = friend, L= love like tat.....just for fun.
Enter your name and lover's and calculate.....

// LoveCalculator by prashob.ms(cyberboy)..just for fun
//Function to trim unwanted characters starts here

static string trimWord(string word)
{
char[] trimChar={'0','1','2','3','4','5','6','7','8','9','.','*',','};

word =word.Trim(trimChar);
return word;
}

private void btn1_Click(object sender, EventArgs e)
{
//Main program starts here

string one = txtFirstName.Text;
string two = txtSecondName.Text;
one = trimWord(one);
two = trimWord(two);
string firstName = one;
string secondName = two;

if (one.Length <=2)
{

MessageBox.Show("Enter Your Name Dude!");

return;
}
else if (two.Length<=2)
{
MessageBox.Show("Enter Your Lovers Name Dude!!");
return;
}


int n = 0;
int i = 0;


while (i <= one.Length - 1)
{
//Second while loop within the first starts here
while (n <= two.Length - 1)
{
if (one == two[n])
{
one = one.Remove(i, 1);
two = two.Remove(n, 1);
n = 0;
i = 0;
}
else
{
++n;
}
//Second while loop ends here
}
++i;
n = 0;

}

string comb = one + two;
int count = comb.Length;
while (count > 5)
{
count = count - 5;
}
count = count - 1;
String three = "flame";
char character = three[count];
string letter = Convert.ToString(character);

switch (letter)
{
case "f":
MessageBox.Show(firstName + "," + " " + secondName + " " + "is your friend");
break;
case "l":
MessageBox.Show(firstName + "," + " " + secondName + " " + "is your Lover");
break;

case "a":
MessageBox.Show(firstName + "," + " " + secondName + " " + "is angry with you,what happend?");
break;

case "m":
MessageBox.Show(firstName + "&" + secondName + " " + "are going to get married");
break;
case "e":
MessageBox.Show(firstName + "," + " " + secondName + " " + "is your enemy,bad luck");
break;
}

}
 
Last edited:
Status
Not open for further replies.
Top Bottom