Sunday, 2 December 2018

The Golden Touch

This is the story of a very greedy rich man who chanced upon meeting a fairy. The fairy’s hair was caught in a few tree branches. Realising he had an opportunity to make even more money, he asked for a wish in return for helping the fairy. He said, ’All that I touch should turn to gold’, and his wish was granted by the grateful fairy.
The greedy man rushed home to tell his wife and daughter about his new boon, all the while touching stones and pebbles and converting them into gold. Once he got home, his daughter rushed to greet him. As soon as he bent down to scoop her up in his arms, she turned into a gold statue. He realized his folly and spent the rest of his days searching for the fairy to take away his wish.

Moral of The Story

Greediness will always lead to a downfall.

The Hen with the Silver Eggs

One day, in an Arabian city, a woman went to the market and bought a beautiful hen. 

You can imagine her surprise, later when the hen laid a silver egg. If the hen could only be persuaded to lay more than one egg each day, the woman was sure she would never have to work again. 

Therefore, the woman decided that the hen must eat more, so that it could lay more eggs. 

But the only result was that the hen died of indigestion and did not lay any more eggs at all. 

Be Grateful

A rich landowner named Carl often rode around his vast estate so he could congratulate himself on his great wealth. One day while riding around his estate on his favorite horse, he saw Hans, an old tenant farmer. Hans was sitting under a tree when Carl rode by. 

Hans said, 'I was just thanking God for my food.' 

Carl protested, 'If that is all I had to eat, I wouldn't feel like giving thanks.' 

Hans replied, 'God has given me everything I need and I am thankful for it.' 

The old farmer added, 'It is strange you should come by today because I had a dream last night. In my dream a voice told me....The richest man in the valley will die tonight.' I don't know what it means, but I thought I ought to tell you.' 

Carl snorted, 'Dreams are nonsense,' and galloped away, but he could not forget Hans' words…The richest man in the valley will die tonight. 

He was obviously the richest man in the valley, so he invited his doctor to his house that evening. Carl told the doctor what Hans had said. After a thorough examination, the doctor told the wealthy landowner, 'Carl, you are as strong and healthy as a horse. There is no way you are going to die tonight.' 

Nevertheless, for assurance, the doctor stayed with Carl, and they played cards through the night. The doctor left the next morning and Carl apologized for becoming so upset over the old man's dream. 

At about nine o'clock, a messenger arrived at Carl's door. 

'What is it?' Carl demanded. 

The messenger explained, 'It's about old Hans. He died last night in his sleep.' 

You don’t need money to be rich, be grateful for what you have in lire and you will feel happier. 

The Clever Fox

This Short Story The Clever Fox is quite interesting to all the people. Enjoy reading this story. 

There once lived a crow. One day he was very hungry. He had not been able to get any food the previous day. “If I do not get anything to eat I will starve to death," he thought. 

As the crow was searching for food, his eyes fell on a piece of bread. He quickly swooped down, picked it up and flew off. Far away in a lonely place he sat on a tree to enjoy the bread. 

Just then a hungry fox saw the crow sitting on the tree holding the bread in his mouth. “Yummy! That bread looks delicious. What I would give to get that piece of bread," the fox thought. 

The fox decided to use all his cunning means to get the piece of bread from the mouth of the crow. He sat under the tree. The crow saw him and thought, “I guess this fox wants to eat my bread. I shall hold it carefully." And he held on to the bread even more tightly. 

The clever fox spoke to the crow politely. He said, “Hello friend! How are you?" But the crow did not say anything. 

“Crows are such lovely birds. And you are very charming too," said the fox, flattering the crow. 

Then the fox said," I have heard that besides being beautiful you also have a sweet voice. Please sing a song for me." 

By now the crow started to believe what the fox was saying. “The fox knows true beauty. I must be the most beautiful bird in this whole world. I will sing him a song," thought the crow. 

As soon as the foolish crow opened his mouth to sing the bread fell from its beak and into the ground. The Clever fox, which had just been waiting for this very moment, caught the bread in his mouth and gulped it down his throat. 

The crow had paid a heavy price for his foolishness.




The Diamond Ring

An old man gave his money and gold to his sons. He showed them his diamond ring and said to them, “I am not giving this ring to you now. Go out and do some noble deeds. Then come to me. Tell me your deeds. Then I will give this diamond ring to one of you. The ring will be the reward for the noblest-deed." 

The sones went out. They did noble deeds. After some time, they returned to their father. 

One of the sons said, “Father… Give me the ring. I have done a great and noble deed. A man left all his money with me. He traveled many countries. Then he came to me. He wanted his money back. I returned his money to him." 

Another son said, “A child fell into a river. The water was carrying the child away. I jumped into the river. I saved the child." 

The third son said, “Father….please listen to me. My enemy was sleeping on the edge of a huge rock. I went to him and woke him up." 

The father said, “All the people love their friends. But you loved your enemy. You saved him from his death. Yours is the noblest deed. Take this ring."

CSIR - CSIO recruitment

CSIR-Central Scientific Instruments Organisation (CSIR-CSIO), Chandigarh, a premier Institute under the Council of Scientific & Industrial Research (CSIR), is involved in multidisciplinary R&D programmes of both basic and applied nature across scientific disciplines with emphasis on measurement science and instrumentation technologies.

 A unique opportunity for research career in Science & Technology.

Designations


  • Senior Scientist
  • Scientist  



Click here to view the detailed advertisement

Monday, 26 March 2018

Health benefits of guava

Guava extract may help improve blood sugar control in people with diabetes or those at risk.

Guavas Are Weight Loss Friendly.

High Levels of Antioxidants in Guavas Can Have an Anti-Cancer Effect.

Eating Guavas May Be Good for Your Skin.

Restarting of blog

Hai everyone

Friday, 29 July 2016

KnowUpdates: C program for identifying tokens in C-Language

KnowUpdates: C program for identifying tokens in C-Language: #include #include #include void keyw(char *p); int i=0,id=0,kw=0,num=0,op=0; char keys[32][10]={"auto","break",&qu...

KnowUpdates: C program for identifying tokens in C-Language

KnowUpdates: C program for identifying tokens in C-Language: #include #include #include void keyw(char *p); int i=0,id=0,kw=0,num=0,op=0; char keys[32][10]={"auto","break",&qu...

KnowUpdates: C program for identifying tokens in C-Language

KnowUpdates: C program for identifying tokens in C-Language: #include #include #include void keyw(char *p); int i=0,id=0,kw=0,num=0,op=0; char keys[32][10]={"auto","break",&qu...

C program for identifying tokens in C-Language

#include
#include
#include
void keyw(char *p);
int i=0,id=0,kw=0,num=0,op=0;
char keys[32][10]={"auto","break","case","char","const","continue","default",
"do","double","else","enum","extern","float","for","goto",
"if","int","long","register","return","short","signed",
"sizeof","static","struct","switch","typedef","union",
"unsigned","void","volatile","while"};
main()
{
char ch,str[25],seps[15]=" \t\n,;(){}[]#\"<>",oper[]="!%^&*-+=~|.<>/?";
int j;
char fname[50];
FILE *f1;
//clrscr();
printf("enter file path (drive:\\fold\\filename)\n");
scanf("%s",fname);
f1 = fopen(fname,"r");
//f1 = fopen("Input","r");
if(f1==NULL)
{
printf("file not found");
exit(0);
}
while((ch=fgetc(f1))!=EOF)
{
for(j=0;j<=14;j++)
{
if(ch==oper[j])
{
printf("%c is an operator\n",ch);
op++;
str[i]='\0';
keyw(str);
}
}
for(j=0;j<=14;j++)
{
if(i==-1)
break;
if(ch==seps[j])
{
if(ch=='#')
{
while(ch!='>')
{
printf("%c",ch);
ch=fgetc(f1);
}
printf("%c is a header file\n",ch);
i=-1;
break;
}
if(ch=='"')
{
do
{
ch=fgetc(f1);
printf("%c",ch);
}while(ch!='"');
printf("\b is an argument\n");
i=-1;
break;
}
str[i]='\0';
keyw(str);
}
}
if(i!=-1)
{
str[i]=ch;
i++;
}
else
i=0;
}
printf("Keywords: %d\nIdentifiers: %d\nOperators: %d\nNumbers: %d\n",kw,id,op,num);
//getch();
}
void keyw(char *p)
{
int k,flag=0;
for(k=0;k<=31;k++)
{
if(strcmp(keys[k],p)==0)
{
printf("%s is a keyword\n",p);
kw++;
flag=1;
break;
}
}
if(flag==0)
{
if(isdigit(p[0]))
{
printf("%s is a number\n",p);
num++;
}
else
{
//if(p[0]!=13&&p[0]!=10)
if(p[0]!='\0')
{
printf("%s is an identifier\n",p);
id++;
}
}
}
i=-1;
}