Gambler

July 30, 2008

Little Johnny was starting his first day at a new school and his father called the teacher to tell her that little Johnny was a big gambler. She said that it was no problem and she has seen worse than that.

After Little Johnny’s first day at his new school his father called the teacher to see how it went. She said, “I think I broke his gambling”. The father asked how and she said, “He bet me $5.00 that I had a mole on my butt, so I pulled down my pants and won his money.”

“DAMN!” said the father.
“What’s wrong?”, the teacher asked.

Little Johnny’s father said, “This morning he bet me $100.00 he would see his teacher’s butt before the day was over!”


July 16, 2008

What is the value of 1/2 of 2/3 of 3/4 of 4/5 of 5/6 of 6/7 of 7/8 of 8/9 of 9/10 of 1,000?

What common English verb becomes its own past tense by rearranging its letters?

I dig out tiny caves, and store gold and silver in them. I also build bridges of silver and make crowns of gold. They are the smallest you could imagine. Sooner or later everybody needs my help, yet many people are afraid to let me help them. Who am I?


Evil

July 16, 2008


Magic World

July 15, 2008


Javascrip for loop

July 15, 2008

<html>
<body>

<script type=”text/javascript”>
for (i = 0; i <= 5; i++)
{
document.write(“The number is ” + i);
document.write(“<br />”);
}
</script>

<p>Explanation:</p>

<p>This for loop starts with i=0.</p>

<p>As long as <b>i</b> is less than, or equal to 5, the loop will continue to run.</p>

<p><b>i</b> will increase by 1 each time the loop runs.</p>

</body>
</html>

Out Put will be like this:

The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
The number is 5

Explanation:

This for loop starts with i=0.

As long as i is less than, or equal to 5, the loop will continue to run.

i will increase by 1 each time the loop runs.

Looping through HTML headers

<html>
<body>

<script type=”text/javascript”>
for (i = 1; i <= 6; i++)
{
document.write(“<h” + i + “>This is header ” + i);
document.write(“</h” + i + “>”);
}
</script>

</body>
</html>

Out Put will be like this:

This is header 1

This is header 2

This is header 3

This is header 4

This is header 5
This is header 6

Follow

Get every new post delivered to your Inbox.