Saturday, July 24, 2010

Logic Program in C



#include<stdio.h>
#include<conio.h>

void main()
{
static int a[10][10],c[10][10];
int i,j=0,k,l,b=0,d=0;
clrscr();
for(i=4;i>=0;i--)
{
l=5-i;
for(j=0,k=8;l>0;l-,k-,j++)
{
a[b][j]=i;
a[b][k]=i;
}
b++;
}
for(i=0;i<4;i++)
{
for(j=0;j<=8;j++)
{
if(a[i][j]==0)
printf(" ");
else
printf("%d",a[i][j]);

}
printf("\n");
}
printf("000000000\n");
for(i=1;i<=4;i++)
{
l=5-i;
for(j=0,k=8;l>0;l-,k-,j++)
{
c[d][j]=i;
c[d][k]=i;
}
d++;
}
for(i=0;i<4;i++)
{
for(j=0;j<=8;j++)
{
if(c[i][j]==0)
printf(" ");
else
printf("%d",c[i][j]);

}
printf("\n");
}



getch();
}

A wonderful example of financial management


FINANCIAL MANAGEMENT: 
A beggar to another beggar: I had a grand dinner at Taj yesterday. 
How? The other beggar asked. 
First beggar: Some one gave me a Rs 100/- note yesterday. 
I went to Taj and ordered dinner worth Rs 1,000/-, 
And enjoyed the dinner. When the bill came, I said, I had no money. 
The Taj manager called the policeman, and handed me over to him. 
I gave the Rs 100/- note to the police fellow, and he set me free. 
A wonderful example of financial management indeed :)

Friday, July 16, 2010

Fun Images

  1. I am also in Q
  2. Multi-Tasking
  3. any difference
  4. Smile please
  5. Hello Sir
  6. Iam hungry
  7. Don't cry 
  8. Believe me 
  9. Update with Technology

23 Brilliant Doubts - Unanswered!

"Every one is the architect of his own fortune"
1. If all the nations in the world are in debt(am not joking. even US has got debts), where did all the money go? (weird)

2. When dog food is new and improved tasting, who tests it? (to be give a thought)

3. What is the speed of darkness? (absurd)

4. If the "black box" flight recorder is never damaged during a plane crash, why isn't the whole airplane made out of that stuff? (very good thinking)

5. Who copyrighted the copyright symbol? (who knows)

6. Can you cry under water? (let me try)

7. Why do people say, "You've been working like a dog" when dogs just sit around all day? (i think they meant something else)

8. Why are the numbers on a calculator and a phone reversed? (God knows)

9. Do fish ever get thirsty? (let me ask and tell)

10. Can you get cornered in a round room? (by ones eyes)

12. Why do birds not fall out of trees when they sleep? (tonight I will stay and watch)

13. What came first, the fruit or the color orange? (seed)

14. If corn oil is made from corn, and vegetable oil is made from vegetables, then what is baby oil made from? (No comments)

15. What should one call a male ladybird? (No comments)

16. If a person suffered from amnesia and then was cured would they remember that they forgot? (can somebody help )

17. Can you blow a balloon up under water? (yes u can)

18. Why is it called a "building" when it is already built? (strange isn't it)

19. If you were traveling at the speed of sound and you turned on your radio would you be ! able to hear it? (got to think scientifically)

20. If you're traveling at the speed of light and you turn your headlights on, what happens? (I don't have a change to try)

21. Why is it called a TV set when there's only one? (very nice)

22. If a person owns a piece of land do they own it all the way down to the core of the earth? (this is nice)

23. Why do most cars have speedometers that go up to at least 130 when you legally can't go that fast on any road? (stupid, break the law) 

THERE IS SOMEBODY UNDER MY BED!

EVER SINCE I WAS A CHILD, I'VE ALWAYS HAD A FEAR OF SOMEONE UNDER MY BED AT NIGHT. SO I WENT TO A PSYCHIATRIST AND TOLD HIM 'I've got problems. Every time I go to bed I think there's somebody under it. I'm scared. I think I'm going crazy.'

'Just put yourself in my hands for one year,' said the psychiatrist. 'Come talk to me three times a week and we should be able to get rid of those fears.'

'How much do you charge?'

'Eighty dollars per visit,' replied the doctor.

'I'll sleep on it and if needed I will come back to you,' I said.

Six months later the Psychiatrist met me on the street.
'Why didn't you come to see me about those fears you were having?' he asked.

'Well, Eighty bucks a visit three times a week for a year is an awful lot of money! A bartender cured me for $10. I was so happy to have saved all that money that I went and bought me a new SUV.

'Is that so!' With a bit of an attitude he said, 'and how, may I ask, did a bartender cure you?'

'He told me to cut the legs off the bed - ain't nobody under there now!

SCREW THOSE PSYCHIATRISTS. . GO HAVE A DRINK & TALK TO YOUR BAR TENDER. There is always another way to solve a problem. I drink to that.

The Gr8 Einstein and some Real Incidents

Some interesting and revealing incidents from the life of Albert Einstein, who was recently honored by Time magazine as the Man of the Century.
 
One day during a speaking tour, Albert Einstein's driver, who often sat at the back of the hall during his lectures, remarked that he could probably give the lecture himself, having heard it so many times. Sure enough, at the next stop on the tour, Einstein and the driver switched places, with Einstein sitting at the back in his driver's uniform.
 
Having delivered a flawless lecture, the driver was asked a difficult question by a member of the audience. "Well, the answer to that question is quite simple," he casually replied. "I bet my driver, sitting up at the back there, could answer it!"
 
============ ========= ========= ========= =========
 
Albert Einstein's wife often suggested that he dress more professionally when he headed off to work. "Why should I?" he would invariably argue. "Everyone knows me there." When the time came for Einstein to attend his first major conference, she begged him to dress up a bit. "Why should I?" said Einstein. "No one knows me there!"
 
============ ========= ========= ========= =========
 
Albert Einstein was often asked to explain the general theory of relativity. "Put your hand on a hot stove for a minute, and it seems like an hour," he once declared. "Sit with a pretty girl for an hour, and it seems like a minute. That's relativity!"
 
============ ========= ========= ========= =========
 
When Albert Einstein was working in Princeton university, one day he was going back home he forgot his home address. The driver of the cab did not recognise him. Einstein asked the driver if he knows Einstein's home. The driver said "Who does not know Einstein's address? Everyone in Princeton knows.Do you want to meet him?. Einstein replied "I am Einstein. I forgot my home address, can you take me there? "The driver reached him to his home and did not even collect his fare from him.
 
============ ========= ========= ========= =========
 
Einstein was once traveling from Princeton on a train when the conductor came down the aisle, punching the tickets of every passenger. When he came to Einstein, Einstein reached in his vest pocket. He couldn't find his ticket, so he reached in his trouser pockets. It wasn't there, so he looked in his briefcase but couldn't find it. Then he looked in the seat beside him. He still couldn't find it.
 
The conductor said, 'Dr. Einstein, I know who you are. We all know who you are. I'm sure you bought a ticket. Don't worry about it.'
 
Einstein nodded appreciatively. The conductor continued down the aisle punching tickets. As he was ready to move to the next car, he turned around and saw the great physicist down on his hands and knees looking under his seat for his ticket.
 
The conductor rushed back and said, 'Dr. Einstein, Dr. Einstein, don't worry, I know who you are. No problem. You don't need a ticket. I'm sure you bought one.'
 
Einstein looked at him and said, 'Young man, I too, know who I am. What I don't know is where I'm going.'

Nice Poetry in Telugu

మనసుà°²ోà°¨ి à°­ాà°µాà°²ెà°¨్à°¨ో 
మరువలేà°¨ి à°—ాà°¯ాà°²ెà°¨్à°¨ో 
à°µీà°¡à°²ేà°¨ి à°¨ేà°¸్à°¤ాà°²ెà°¨్à°¨ో 
à°µీà°¡ిà°ªోà°¨ి à°¬ంà°§ాà°²ెà°¨్à°¨ో 
మరపుà°°ాà°¨ి à°ªాà°Ÿà°²ెà°¨్à°¨ో 
మధురమయిà°¨ à°•్à°·à°£ాà°²ెà°¨్à°¨ో 
à°•à°µ్à°µింà°šే à°•à°¬ుà°°్à°²ెà°¨్à°¨ో 
à°®ాయమయ్à°¯ే à°®ాà°°్à°ªుà°²ెà°¨్à°¨ో 
అవసరాà°¨ిà°•ి ఆడిà°¨ అబద్à°§ాà°²ెà°¨్à°¨ో 
à°¤ుంà°Ÿà°°ిà°—ా à°šేà°¸ిà°¨ à°šిà°²ిà°ªి పనుà°²ెà°¨్à°¨ో
ఆస్à°šà°°్యపరిà°šే à°…à°¦్à°­ుà°¤ాà°²ెà°¨్à°¨ో
à°®ాà°Ÿà°²్à°²ో à°šెà°ª్పలేà°¨ి à°®ుà°š్à°šà°Ÿ్à°²ెà°¨్à°¨ో 
à°®ుà°¸ుà°—ు à°µేà°¸ిà°¨ మనసుà°•ు మరువరాà°¨ి à°œ్à°žాపకాà°²ెà°¨్à°¨ో 
à°Žà°¨్à°¨ో à°Žà°¨్à°¨ెà°¨్à°¨ో à°‡ంà°•ెà°¨్à°¨ో... 
మనిà°·ి à°œీà°µిà°¤ంà°²ో మరువలేà°¨ి à°‡ంà°•ెà°¨్à°¨ో 
ఇదే à°œీà°µిà°¤ం... à°¦ీà°¨ిà°¨ి à°…à°¨ుà°­à°µింà°šు à°…à°¨ుà°•్à°·à°£ం ..............

FunNy LiNeS

1. Regular naps prevent old age... especially if you take them while driving.


2. Having one child makes you a parent; having two makes you a referee.


3. Marriage is a relationship in which one person is always right and the other is the husband!


4. They said we should all pay our tax with a smile.. I tried- but they wanted cash. 


5. A child's greatest period of growth is the month after you've purchased new school uniforms. 


6. Don't feel bad. A lot of people have no talent. 


7. Don't marry the person you want to live with, marry the one you cannot live without.... but whatever you do, you'll regret it later.


8. You can't buy love. . But you pay heavily for it.


9. True friends stab you in the front. 


10. Forgiveness is giving up my right to hate you for hurting me.   


11. Bad officials are elected by good citizens who do not vote. 


12. Laziness is nothing more than the habit of resting before you get tired. 


13. My wife and I always compromise. I admit I'm wrong and she agrees with me.


14. Those who can't laugh at themselves leave the job to others.


15. Ladies first. Pretty ladies sooner.


16. It doesn't matter how often a married man changes his job, he still ends up with the same boss.


17. They call our language the mother tongue because the father seldom gets to speak.


18. Saving is the best thing. Especially when your parents have done it for you. 


19. Wise men talk because they have something to say; fools talk because they have to say something. 


20.. Real friends are the ones who survive transitions between address books.

Indian Rupee finally gets its symbol

Indian Rupee finally gets its symbol

Link: http://beta.profit.ndtv.com/news/show/indian-rupee-finally-gets-its-symbol-82596


Finally, the Rupee will have a symbol like the Dollar ($) or the Euro (€) or the Pound (£). The Cabinet today finalised the design for the Rupee. 

IIT post-graduate Uday kumar's entry has been selected out of five shortlisted designs as the new symbol for the Indian Rupee.

The government had organised a symbol design competition with a prize money of Rs 2.5 lakh. Five designs were shortlisted from a competition and all new notes will bear the design finally approved.

The growing influence of the Indian economy in the global space is said to have prompted this move that will result in the Indian rupee joining the select club of global currencies like the US dollar, the British Pound, European Euro and Japanese Yen that have unique symbols.

The abbreviation for the Indian Rupee, 'Re' or 'Rs' is used by India's neighbours Pakistan, Nepal and Sri Lanka.

Your Boss, You & Your Target.


The tongue

The tongue