IMPLEMENTATION OF STACK USING ARRAY IN C

#include<stdio.h>
#define MAX 4
int top=-1;
int a[MAX];
void push();
void pop();
void diplay();
main()
{
int ch;
do
{
printf(“\nmenu\n1.push\n2.pop\n3.display\n4.exit\n”);
printf(“enter the choice\n”);
scanf(“%d”,&ch);
switch(ch)
{
case 1:push();
break;
case 2:pop();
break;
case 3:display();
break;
case 4:break;
}
}while(ch!=4);
}
void push()
{
int n;
if(top>=MAX-1)
printf(“stack overflow”);
else
{
printf(“enter the number\n”);
scanf(“%d”,&n);
a[++top]=n;
}
}
void pop()
{
if(top<0)
printf(“stack empty”);
else

top=top-1;

}
void display()
{
int i;
for(i=top;i>=0;i- -)
printf(“\t%d”,a[i]);
}

ROLE OF FREE SOFTWARES IN EDUCATION

Nowadays free software movements are becoming more and more strong.Now people are aware of the scopes of free softwares.Free softwares provides more and more applications to solve practical probems and they are “absolutely free”.FREE means not only free of cost but also it is the freedom to use and change the software for our uses.

Free softwares have very wide range of application in technical as well as non-technical education.The aim of technical education is not to become an end user.But it is to become a programmer.We know that Linux operating system is a programmer oriented operating system.If we want to create an operating system or software the reference of already existing softwares will be a very good help.The source code of free softwares are available and it can be modified for our uses.

Another important advantage of using free softwares are economical benefits.Educational institutions are instructed by the Government to use free softwares.It can create technical awareness in students from the very beginning itself.The proprietary softwares we use are very costly and not at all benefited for all kinds of uses.We are forced to install the packages we need.But free softwares are providing many applications which are better than the other type.So it is desirable to use free softwares in everyday life.

THE PREVIOUS WEEK

The previous week was not much satisfactory to me.Our classroom was shifted to an old block near the civil environmental department.At first I could not adjust with that classroom.Dust and mosquitoes were our main enemies.Then we heard a news that the second series test will be conducted from October 26 onwards.I became upset.Because the studies were almost stopped after the first series test.During this time we were instructed to submit an assignment of ECS.Assignment was written and submitted.At the end of the week I could adjust with the classroom.Now the academical atmosphere has changed into a jolly atmosphere.

A SMALL STEP TOWARDS COLONISATION OF MOON

CHANDRAYAN-1Chandrayan-1 India’s first project to study about moon became a huge success.The project was a mile stone in the research for confirming the presence of water in the surface of moon.It was the real reply to the countries who blamed Chandrayan-1 project.According to ISRO chief Dr.G.Madhavan Nair Chandrayan-1 was 110% successful.The combined research done by ISRO and NASA revealed the presence of water in moon.Chandrayan-1 send over 70000 photos of moon to the control stations .The success of this project raised position of India among the top five nations of space club.All over these Chandrayan-1 regenerated the hopes of scientists who belive in extra terrestrial life.

Lets give our hearty congratulations to ISRO scientists!!!!!