Earn free bitcoin

In Construction

Coming soon new slides.

In Construction

Coming soon new slides.

In Construction

Coming soon new slides.

In Construction

Coming soon new slides.

In Construction

Coming soon new slides.

25 November 2016

Find someone’s IP address: When chatting on facebook



To Do so we will be using “netstat” command in windows. If you want to know the IP address of a specific person on facebook or orkut or any chat service, there is only one way: Just invite or ping him for a chat and while chat is ON open ‘Command Prompt‘ on your PC (Start >Run>cmd).

note: before trying this make sure you close all the other tabs in your browser, and only keep facebook open. Also if possible delete all the history and cache from your browser.

When command prompt opens Type the following command and hit Enter.
  • netstat -an
And you will get all established connections IP addresses there. Note down all the suspicious IP’s.

The Next Step is to Trace that user using his IP address.

To do so we will be using IP tracer service. Go to the below address and paste the IP address in the box that says “lookup this ip or website”, and it will show you the location of the user.


It will show you all the information about that user along with his ISP and a Location in the MAP. Now in the MAP Just click on “click for big ip address location” in the big picture you can actually zoom in. and try to recognize the area. If any serious matter just note down the ISP details in that page and contact them about the IP. They will respond you.

Other netstat commands:
  • -a Displays all connections and listening ports.
  • -e Displays Ethernet statistics. This may be combined with the -s option.
  • -n Displays addresses and port numbers in numerical form.
  • -p Proto Shows connections for the protocol specified by proto; proto may be TCP or UDP.
  • -s Option to display per-protocol statistics, proto may be TCP, UDP, or IP.
  • -r Displays the routing table.
  • -s Displays per-protocol statistics. By default, statistics are shown for TCP, UDP and IP; the
  • -p Option may be used to specify a subset of the default.
netstat -an
                                               THANKS

Find someone’s IP address: When chatting on facebook



To Do so we will be using “netstat” command in windows. If you want to know the IP address of a specific person on facebook or orkut or any chat service, there is only one way: Just invite or ping him for a chat and while chat is ON open ‘Command Prompt‘ on your PC (Start >Run>cmd).

note: before trying this make sure you close all the other tabs in your browser, and only keep facebook open. Also if possible delete all the history and cache from your browser.

When command prompt opens Type the following command and hit Enter.
  • netstat -an
And you will get all established connections IP addresses there. Note down all the suspicious IP’s.

The Next Step is to Trace that user using his IP address.

To do so we will be using IP tracer service. Go to the below address and paste the IP address in the box that says “lookup this ip or website”, and it will show you the location of the user.


It will show you all the information about that user along with his ISP and a Location in the MAP. Now in the MAP Just click on “click for big ip address location” in the big picture you can actually zoom in. and try to recognize the area. If any serious matter just note down the ISP details in that page and contact them about the IP. They will respond you.

Other netstat commands:
  • -a Displays all connections and listening ports.
  • -e Displays Ethernet statistics. This may be combined with the -s option.
  • -n Displays addresses and port numbers in numerical form.
  • -p Proto Shows connections for the protocol specified by proto; proto may be TCP or UDP.
  • -s Option to display per-protocol statistics, proto may be TCP, UDP, or IP.
  • -r Displays the routing table.
  • -s Displays per-protocol statistics. By default, statistics are shown for TCP, UDP and IP; the
  • -p Option may be used to specify a subset of the default.
netstat -an
                                               THANKS

22 November 2016

HOTAL MANAGEMENT PROJECT(Using C)


#include<conio.h>
#include<stdio.h>
#include <string.h>
#include <stdlib.h>
#include <windows.h>
int Loginattemp=1;
#include<process.h>
int advance[5]={750,500,400,500,750};
int  r_no[5]={1,2,3,4,5};
int room;
int tot[5]={0,0,0,0,0};
int g_tot=0;
int  r_charge[5];
char r_type[5][7];
char r_cust[5][20]={"N.A"};
char c_city[5][20];
char name[30];
int  c_mem[5];
char c_nat[5][20];
char r_avail[5];
int  r_per[5];
int  no[5];
int year[5];
int month[5];
int day[5];
int i;
void getavail();
void putavail();
void features();
void allocate();
void putcust();
void restaurant();
void deallocate();
void cancel();
void intro();
void screenheader();
void gotoxy(short x, short y) {
COORD pos = {x, y};
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), pos);
}
void screenheader()
 {
  system ("cls");
   printf("\n                       :::::::::::::::::::::::::::::::::::::");
   printf("\n                       ::                                 ::");
   printf("\n                       ::     @@@@@@@@@@@@@@@@@@@@@@@     ::");
   printf("\n                       ::     @                     @     ::");
   printf("\n                       ::     @      WELCOME TO     @     ::");
   printf("\n                       ::     @                     @     ::");
   printf("\n                       ::     @       TAJ HOTEL     @     ::");
   printf("\n                       ::     @                     @     ::");
   printf("\n                       ::     @@@@@@@@@@@@@@@@@@@@@@@     ::");
   printf("\n                       ::                                 ::");
   printf("\n                       :::::::::::::::::::::::::::::::::::::\n\n");
 }
 void intro()
 {
  system ("cls");
   printf("\n\t  lovely hotel");
   printf("\n\n   Ph. No.:9521278719 & 9472448719");
   printf("\n\n\n                             WELCOMES YOU TO TAJ HOTEL");
   printf("\n\n\n\t near lpu ");
   printf("\n the hotel is well furnished");
   printf("\n\n AMENITIES .......\n");
   printf("\n\t\t\t1. 100% Power backup.\n");
   printf("\t\t\t2. Automatic lift.\n");
   printf("\t\t\t3. Ample parking space.\n");
   printf("\t\t\t4. Round the clock security.\n");
   printf("\t\t\t5. Running hot and cold water.\n");
   printf("\t\t\t6. Free internet service.\n");
   printf("\t\t\t7. 24 hours room service.\n");
   printf("\t\t\t8. Laundary service.\n");
   printf("\nPress any character to continue:");
   getch();
 }
 int Login(){
  int i,j;
  char pword[5];
  char uname[5];
  char username[6]="rrram";
  char Password[6]="rrram";
  printf("Enter Your UserName And Password To continue \n");
  printf("Enter Your  UserName\n");
  scanf("%s",&uname);
  printf("Enter Your Password \n");
  for( i=0;i<5;i++)
  {
      pword[i]=getch();
      printf("*");
  }
  if (strcmp(username,uname) == 0 && strcmp(Password,pword) == 0  ){
    return 1;
  }else{
    printf("\n\n\nWrong User Name or Password\n\n\n");
 
    if(Loginattemp==3){
      printf("\n\n\n SORRY YOU ARE OUT OF YOUR CONTROL!!!!");
      exit(0);
    }
    Loginattemp++;
    Login();

  }
 }
 void getavail()
 {
   for(i=0;i<5;i++)
     {
       if(r_no[i]==1)
  {
    strcpy(r_type[i],"Sp Dlx");
    r_charge[i]=1500;
    if(strcmp(r_cust[i],"N.A")==0)
      {
        r_avail[i]='Y';
        r_per[i]=0;
      }
  }
       else if(r_no[i]==2)
  {
    strcpy(r_type[i],"Dlx");
    r_charge[i]=1000;
    if(strcmp(r_cust[i],"N.A")==0)
      {
        r_avail[i]='Y';
        r_per[i]=0;
      }
  }
       else if(r_no[i]==3)
  {
    strcpy(r_type[i],"Gen");
    r_charge[i]=750;
    if(strcmp(r_cust[i],"N.A")==0)
      {
        r_avail[i]='Y';
        r_per[i]=0;
      }
  }
       else if(r_no[i]==4)
  {
    strcpy(r_type[i],"Coupl");
    r_charge[i]=1000;
    if(strcmp(r_cust[i],"N.A")==0)
      {
        r_avail[i]='Y';
        r_per[i]=0;
      }
  }
       else if(r_no[i]==5)
  {
    strcpy(r_type[i],"C Dlx");
    r_charge[i]=1500;
    if(strcmp(r_cust[i],"N.A")==0)
      {
        r_avail[i]='Y';
        r_per[i]=0;
      }
  }
     }
 }
void putavail()
 {

   screenheader();
   printf("\n ROOM AVAILABILITY");
   printf("\n  ");
   printf("\nRoom No| Type | Charge | Availability | Cust_Name | Period |");
   for(i=0;i<5;i++)
     {
      printf("\n%d\t",r_no[i]);
       puts(r_type[i]);
       if(i==0)
  printf("%d\t%c\t",r_charge[i],r_avail[i]);
       if((i==1) || (i==2))
  printf("%d\t%c\t",r_charge[i],r_avail[i]);
       if(i==3 || i==4)
  printf("%d\t%c\t",r_charge[i],r_avail[i]);
       puts(r_cust[i]);
       if((i==1) || (i==2))
  printf("\t%d",r_per[i]);
       else if((i==3) || (i==4))
  printf("\t%d",r_per[i]);
       else
  printf("\t%d",r_per[i]);
     }
 }
void features()
 {
   int typ;
   screenheader();
   printf("\nChoose the room type:\n1. Sp. Delux\n2. Delux");
   printf("\n3. General\n4. Couple\n5. C. Delux\n");
   scanf("%d",&typ);
   if(typ>5)
     {
       printf("\nWrong choice!! Choose a number between 1-5:");
       features();
     }
   switch(typ)
     {
       case 1:screenheader();
     
       printf("\n Room number>>>1");
       printf("\n Advance >>>750\n\n");
       printf("\n FEATURES OF THIS ROOM  ");
       printf("\n--");
       printf("\n\n Room Type>>> Sp.delux");
       printf("\n\n Room charges >>> Rs.1500 per day");
       printf("\n\n 1. Bed>>>2");
       printf("\n\n 2.Capacity           >>>      5");
       printf("\n\n 3.Balcony available     ");
       printf("\n---");
       printf("\n ADDITIONAL FEATURES ");
       printf("\n----");
       printf("\n\n 1.A/C  available ");
       printf("\n\n 2.Geyser available");
       printf("\n\n 3.TV available      ");
       printf("\n------");
       printf("\n NOTE :- Extra bed will cost Rs.50 per bed ");
       break;
       case 2:screenheader();
       printf("\n Room number >>>2\n\n");
       printf("\n Advance>>>500\n\n");
       printf("\n  FEATURES OF THIS ROOM    ");
       printf("\n-----");
       printf("\n\n Room Type            >>> Delux                                      ");
       printf("\n\n Room charges         >>>Rs.1000 per day");
       printf("\n\n 1. Bed               >>>      2");
       printf("\n\n 2.Capacity           >>>      5");
       printf("\n-------------------------------------------------------------------");
       printf("\n                    ADDITIONAL FEATURES                        ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n 1.A/C available   ");
       printf("\n\n 2.Geyser available");
       printf("\n\n 3.TV available      ");
       printf("\n-------------------------------------------------------------------");
       printf("\n NOTE :- Extra bed will cost Rs.50 per bed ");
       break;
       case 3:screenheader();
       printf("\n Room number            >>>3\n\n");
       printf("\n Advance                >>>400\n\n");
       printf("\n                      FEATURES OF THIS ROOM                       ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n Room Type            >>> General                                    ");
       printf("\n\n Room charges         >>>Rs.750 per day");
       printf("\n\n 1. Bed               >>>      2");
       printf("\n\n 2.Capacity           >>>      5");
       printf("\n-------------------------------------------------------------------");
       printf("\n                    ADDITIONAL FEATURES                        ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n 1.Geyser available      ");
       printf("\n-------------------------------------------------------------------");
       printf("\n NOTE :- Extra bed will cost Rs.50 per bed ");
       break;
       case 4:screenheader();
       printf("\n Room number            >>>4\n\n");
       printf("\n Advance                >>>500\n\n");
       printf("\n                      FEATURES OF THIS ROOM                       ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n Room Type            >>> Couple                                     ");
       printf("\n\n Room charges         >>>Rs.1000 per day");
       printf("\n\n 1. Bed               >>>      1");
       printf("\n\n 2.Capacity           >>>      2");
       printf("\n-------------------------------------------------------------------");
       printf("\n                    ADDITIONAL FEATURES                        ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n 1.Geyser available");
       printf("\n\n 2.TV available      ");
       printf("\n-------------------------------------------------------------------");
       printf("\n NOTE :- Extra bed will cost Rs.50 per bed ");
       break;
       case 5:screenheader();
       printf("\n Room number            >>>5\n\n");
       printf("\n Advance                >>>750\n\n");
       printf("\n                      FEATURES OF THIS ROOM                       ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n Room Type            >>> Couple Delux                                    ");
       printf("\n\n Room charges         >>>Rs.1500 per day");
       printf("\n\n 1. Bed               >>>      1");
       printf("\n\n 2.Capacity           >>>      2");
       printf("\n-------------------------------------------------------------------");
       printf("\n                    ADDITIONAL FEATURES                        ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n 1.A/C available   ");
       printf("\n\n 2.Geyser available");
       printf("\n\n 3.TV available      ");
       printf("\n-------------------------------------------------------------------");
       printf("\n NOTE :- Extra bed will cost Rs.50 per bed ");
       break;
     }
 }
void allocate()
 {

   screenheader();
   getavail();
   printf("\n Enter the room number in which you want to stay:");
   scanf("%d",&room);
   if(r_avail[room-1]=='Y')
     {
       fflush(stdin);
       printf("\n Enter Name of cust living :");
       gets(r_cust[room-1]);
       printf("\n Enter city name :");
       gets(c_city[room-1]);
       printf("\n Enter nationality :");
       gets(c_nat[room-1]);
       printf("\n For how many days cust want the room :");
       scanf("%d",&r_per[room-1]);
       printf("\n Enter no. of member in your group :");
       scanf("%d",&c_mem[room-1]);
       if((room==1)||(room==2)||(room==3))
  if((c_mem[room-1]<1)||(c_mem[room-1]>5))
    {
      printf("\n %d members cannot be allocated this room.Allowed members are between 1-5.",c_mem[room-1]);
      getch();
      allocate();
    }
       else if((room==4)||(room==5))
  if((c_mem[room-1]<1)||(c_mem[room-1]>2))
    {
      printf("\n %d members cannot be allocated this room.Allowed members are between 1-2.",c_mem[room-1]);
      getch();
      allocate();
    }
       printf("\n Enter the date of arrival :");
       printf("\n------------------------------");
       printf("\n Year : ");
       scanf("%d",&year[room-1]);
       printf("\n Month :");
       scanf("%d",&month[room-1]);
       printf("\n Day :");
       scanf("%d",&day[room-1]);
       if((year[room-1]>9999)||(month[room-1]>12)||(month[room-1]<1)||(day[room-1]<1)||(((month[room-1]==1)||(month[room-1]==3)||(month[room-1]==5)||(month[room-1]==7)||(month[room-1]==8)||(month[room-1]==10)||(month[room-1]==12))&&(day[room-1]>31))||(((month[room-1]==4)||(month[room-1]==6)||(month[room-1]==9)||(month[room-1]==11))&&(day[room-1]>30))||((month[room-1]==2)&&((year[room-1]%400==0)||((year[room-1]%4==0)&&(year[room-1]%100!=0)))&&(day[room-1]>29))||((month[room-1]==2)&&(year[room-1]%4!=0)&&(day[room-1]>28)))
  {
    Sleep(200);
    printf("\n\n!!!!!INVALID DATE........");
    getch();
    allocate();
  }
       else
  {
    printf("\n... Room is allocated to ");
    puts(r_cust[room-1]);
    printf(" for %d days.",r_per[room-1]);
    r_avail[room-1]='N';
    getch();
  }
     }
   else
     {
       printf("\n ERROR : Room cannot be allocated ...");
       printf("\n Room is not available...");
       getch();
     }
 }
void deallocate()
 {
   screenheader();
   printf("\nEnter the room number:");
   scanf("%d",&room);
   if(r_cust[room-1]=="N.A")
     {
       printf("\nThe room is empty........");
       getch();
     }
   else
     {
       printf("\nEnter the name of the person staying in the room:");
       fflush(stdin);
       gets(name);
       if(strcmpi(name,r_cust[room-1])==0)
  {
    printf("\nRoom number %d is deallocated......",room);
    strcpy(r_cust[room-1],"N.A");
    getch();
  }
       else
  {
    printf("\nInvalid name........");
    getch();
    deallocate();
  }
     }
   g_tot=(r_per[room-1]*r_charge[room-1])-advance[room-1]+tot[room-1];
   printf("\n\nYour total bill is %d",g_tot);
   printf("\n\n\nThanks for staying in this hotel.........");
 }
void cancel()
 {
   screenheader();
   printf("\nEnter the room number:");
   scanf("%d",&room);
   if(r_cust[room-1]=="N.A")
     {
       printf("\nThe room is empty........");
       getch();
     }
   else
     {
       printf("\nEnter the name of the person staying in the room:");
       fflush(stdin);
       gets(name);
       if(strcmpi(name,r_cust[room-1])==0)
  {
    printf("\nReservation for room number %d is cancelled......",room);
    strcpy(r_cust[room-1],"N.A");
    getch();
  }
       else
  {
    printf("\nInvalid name........");
    getch();
    cancel();
  }
     }
   g_tot=advance[room-1];
   printf("\n\nYour total bill is %d",g_tot);
 }
void putcust()
 {
   int j;
   screenheader();
   printf("\nEnter the room number :");
   scanf("%d",&room);
   j=strcmp(r_cust[room-1],"N.A");
   if(j==0)
     {
       printf("\n Data not available ");
       getch();
     }
   else
     {
       printf("\n Room No        :%d",r_no[room-1]);
       printf("\n Customer Name  :");
       puts(r_cust[room-1]);
       printf("\n Period         :%d",r_per[room-1]);
       printf("\n City           :");
       puts(c_city[room-1]);
       printf("\n Nationality    :");
       puts(c_nat[room-1]);
       printf("\n No of member   :%d",c_mem[room-1]);
       printf("\n Arrival Date   :%d/%d/%d",day[room-1],month[room-1],year[room-1]);
       getch();
     }
 }
void restaurant()
 {
   int count=0,z=0,fc[113],answ;
   char ans;
   int price[113]={245,245,245,245,240,240,240,240,235,235,250,235,235,220,
   215,230,215,240,250,250,250,250,250,250,250,255,245,245,245,245,250,240,
   240,360,290,360,290,370,295,360,290,360,290,250,360,290,360,290,250,370,
   290,360,290,250,250,280,245,290,235,265,240,290,300,256,240,265,270,255,
   255,240,240,235,220,25,30,25,30,35,35,25,30,35,25,35,25,25,30,100,105,105,
   100,105,100,105,125,105,105,100,105,110,115,100,100,100,105,105,105,105,
   125,105,120,120,100};
   char food[113][30]={"SHAHI PANEER","KADAI PANEER","CHEESE KORMA",
   "MALAI KOFTA","MATAR PANEER","PALAK PANEER","MIX VEG.","ALOO GOBI",
   "ALOO JEERA","CHANA MASALA","MATAR MUSHROOM","RAJMA MAKHANI","DAL MAKHANI",
   "MIXED RAITA","BUNDI RAITA","PINEAPPLE RAITA","SALAD(GREEN)","DUM ALOO",
   "MUSHROOM PANEER","MUTTON MASALA","MUTTON MUGHLAI","MUTTON KORMA",
   "MUTTON DO PYAZA","MUTTON SAGH","MUTTON DAHI","MUTTON ROGAN JOSH",
   "MUTTON CURRY","KADAI MUTTON","KEEMA LEVER","KEEMA MATAR","KEEMA EGG",
   "BRAIN CURRY","EGG CURRY","BUTTER CHICKEN","BUTTER CHICKEN(1/2)",
   "KADAI CHICKEN","KADAI CHICKEN(1/2)","BUTTER CHICKEN(BL)",
   "BUTTER CHICKEN(BL)(1/2)","CHICKEN MUGHLAI","CHICKEN MUGHLAI(1/2)",
   "CHICKEN MASALA","CHICKEN MASALA(1/2)","CHICKEN MASALA(1/4)",
   "CHICKEN SAGH","CHICKEN SAGH(1/2)","CHICKEN DAHI","CHICKEN DAHI(1/2)",
   "CHICKEN DAHI(1/4)","CHICKEN KORMA","CHICKEN KORMA(1/2)",
   "CHICKEN DO PYAZA","CHICKEN DO PYAZA(1/2)","FISH CURRY","CHICKEN CURRY",
   "CHICKEN CURRY(1/2)","CHICKEN CURRY(1/4)","CHILLI CHICKEN","TANDOORI ALOO",
   "CHICKEN TIKKA","SEEKH KABAB","FISH TIKKA","CHICKEN TANDOORI",
   "CHICKEN TANDOORI(1/2)","PANEER TIKKA","CHICKEN SEEKH KABAB",
   "CHICKEN HARA KABAB","CHICKEN BIRYANI","MUTTON BIRYANI","PANEER PULAO",
   "VEG.PULAO","JEERA RICE","STEAMED RICE","RUMALI ROTI","ROTI","NAN",
   "ALOO NAN","PANEER NAN","KEEMA NAN","PARANTHA","ALOO PARANTHA",
   "PANEER PARANTHA","PUDINA PARANTHA","BUTTER NAN","LACHCHA PARANTHA",
   "MISSI ROTI","KHASTA ROTI","VEG.BURGER","PANEER BURGER","CHEESE SANDWICH",
   "VEG.PATTI","CHICKEN PATTI","TEA","COFFEE","COLD COFFEE","PINEAPPLE",
   "STRAWBERRY","CHOCOLATE","BLACK FOREST","DOUBLE STORIED","TRIPLE STORIED",
   "SOFT CONE","VANILLA","STRAWBERRY","CHOCOLATE","CHOCO CHIPS","MANGO",
   "TUTTI FRUITY","LICHI","PISTA BADAM","CHOCOLATE PISTA BADAM","CHOCO DIP",
   "CHOCOLATE LICHI"};
   screenheader();
   printf("\n                        *********");
   printf("\n                        MENU CARD");
   printf("\n                        *********");
   printf("\n\n                        VEGETARIAN");
   for(i=0;i<113;count++,i++)
     {
       gotoxy(17,count+20);
       printf("%d",i+1);
       gotoxy(30,count+20);
       puts(food[i]);
       gotoxy(55,count+20);
       printf("%d",price[i]);
       if(count==17)
  {
    count=0;
    printf("\n                              PRESS ANY KEY TO CONTINUE");
    getch();
    screenheader();
  }
       if(i==18)
  {
    printf("\n\n       MUTTON\n");
    count +=3;
  }
       if(i==32)
  {
    printf("\n\n       CHICKEN\n");
    count +=3;
  }
       if(i==57)
  {
    printf("\n\n       BAR-BE-QUE\n");
    count +=3;
  }
       if(i==72)
  {
    printf("\n\n       ROTI-NAN-PARANTHA\n");
    count +=3;
  }
       if(i==91)
  {
    printf("\n\n       BEVERAGES\n");
    count +=3;
  }
       if(i==100)
  {
    printf("\n\n       ICE-CREAMS\n");
    count +=3;
  }
     }
   getch();
   screenheader();
   printf("\n\nPRESS 0 TO GO BACK TO MENU CARD\nPRESS 1 TO CONTINUE ");
   scanf("%d",&answ);
   switch(answ)
     {
       case 0:restaurant();
       break;

       case 1 :
        do
   {
     printf("ENTER THE FOOD CODE YOU WANT TO HAVE :: ");
     scanf("%d",&fc[z]);
     z++;
     puts("DO YOU WANT MORE(Y/N) ::");
     fflush(stdin);
     scanf("%c",&ans);
   }while ((ans=='y')||(ans=='Y'));
        printf("\nEnter your room number:");
        scanf("%d",&room);
        printf("\nEnter your name:");
        fflush(stdin);
        gets(name);
        if(strcmpi(name,r_cust[room-1])!=0)
   {
     printf("\nWrong name...:");
     getch();
     restaurant();
   }
        getch();
        screenheader();
        for(i=0;i<z;i++)
   {
     puts(food[fc[i]-1]);
     printf("\t\t\t%d\n",price[fc[i]-1]);
     tot[room-1] +=price[fc[i]-1];
   }
        printf("TOTAL\t\t\t\t%d",tot[room-1]);
        break;

       default:printf("\nWrong choice entered!!!");
        getch();
        restaurant();
     }
 }



 int main(){

  int x;

  int ch;
  char ans;
  printf("Loading");
  for(x = 0; x<10; x++)
  {
      printf(".",x);
      Sleep(200);
  }
  screenheader();
  int stat=Login();
  if(stat){
    screenheader();
   intro();
   do
     {
       screenheader();
       printf("\n\n\n                      Choose a category:\n");
       printf("                        1. Get availability\n");
       printf("                     2. Features of room\n");
       printf("                        3. Room allocation\n");
       printf("           4. Show customer details\n");
       printf("           5. Restaurant\n");
       printf("                        6. Cancellation\n");
       printf("                        7. Room Deallocation\n");
       printf("                 8. Exit\n");
       scanf("%d",&ch);
       switch(ch)
      {
        case 1:getavail();
          putavail();
        break;
        case 2:features();
          break;
        case 3:allocate();
          break;
        case 4:putcust();
          break;
        case 5:restaurant();
          break;
        case 6:cancel();
          break;
        case 7:deallocate();
          break;
        case 8:exit(0);
        default:printf("\n\n\nWrong choice!!!!\n\nPlease choose 1-6");
          getch();
      }
    printf("\n\nDo you want to continue:");
    fflush(stdin);
    scanf("%c",&ans);
     }while(ans=='y'||ans=='Y');
  }
  return 0;
}

HOTAL MANAGEMENT PROJECT(Using C)


#include<conio.h>
#include<stdio.h>
#include <string.h>
#include <stdlib.h>
#include <windows.h>
int Loginattemp=1;
#include<process.h>
int advance[5]={750,500,400,500,750};
int  r_no[5]={1,2,3,4,5};
int room;
int tot[5]={0,0,0,0,0};
int g_tot=0;
int  r_charge[5];
char r_type[5][7];
char r_cust[5][20]={"N.A"};
char c_city[5][20];
char name[30];
int  c_mem[5];
char c_nat[5][20];
char r_avail[5];
int  r_per[5];
int  no[5];
int year[5];
int month[5];
int day[5];
int i;
void getavail();
void putavail();
void features();
void allocate();
void putcust();
void restaurant();
void deallocate();
void cancel();
void intro();
void screenheader();
void gotoxy(short x, short y) {
COORD pos = {x, y};
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), pos);
}
void screenheader()
 {
  system ("cls");
   printf("\n                       :::::::::::::::::::::::::::::::::::::");
   printf("\n                       ::                                 ::");
   printf("\n                       ::     @@@@@@@@@@@@@@@@@@@@@@@     ::");
   printf("\n                       ::     @                     @     ::");
   printf("\n                       ::     @      WELCOME TO     @     ::");
   printf("\n                       ::     @                     @     ::");
   printf("\n                       ::     @       TAJ HOTEL     @     ::");
   printf("\n                       ::     @                     @     ::");
   printf("\n                       ::     @@@@@@@@@@@@@@@@@@@@@@@     ::");
   printf("\n                       ::                                 ::");
   printf("\n                       :::::::::::::::::::::::::::::::::::::\n\n");
 }
 void intro()
 {
  system ("cls");
   printf("\n\t  lovely hotel");
   printf("\n\n   Ph. No.:9521278719 & 9472448719");
   printf("\n\n\n                             WELCOMES YOU TO TAJ HOTEL");
   printf("\n\n\n\t near lpu ");
   printf("\n the hotel is well furnished");
   printf("\n\n AMENITIES .......\n");
   printf("\n\t\t\t1. 100% Power backup.\n");
   printf("\t\t\t2. Automatic lift.\n");
   printf("\t\t\t3. Ample parking space.\n");
   printf("\t\t\t4. Round the clock security.\n");
   printf("\t\t\t5. Running hot and cold water.\n");
   printf("\t\t\t6. Free internet service.\n");
   printf("\t\t\t7. 24 hours room service.\n");
   printf("\t\t\t8. Laundary service.\n");
   printf("\nPress any character to continue:");
   getch();
 }
 int Login(){
  int i,j;
  char pword[5];
  char uname[5];
  char username[6]="rrram";
  char Password[6]="rrram";
  printf("Enter Your UserName And Password To continue \n");
  printf("Enter Your  UserName\n");
  scanf("%s",&uname);
  printf("Enter Your Password \n");
  for( i=0;i<5;i++)
  {
      pword[i]=getch();
      printf("*");
  }
  if (strcmp(username,uname) == 0 && strcmp(Password,pword) == 0  ){
    return 1;
  }else{
    printf("\n\n\nWrong User Name or Password\n\n\n");
 
    if(Loginattemp==3){
      printf("\n\n\n SORRY YOU ARE OUT OF YOUR CONTROL!!!!");
      exit(0);
    }
    Loginattemp++;
    Login();

  }
 }
 void getavail()
 {
   for(i=0;i<5;i++)
     {
       if(r_no[i]==1)
  {
    strcpy(r_type[i],"Sp Dlx");
    r_charge[i]=1500;
    if(strcmp(r_cust[i],"N.A")==0)
      {
        r_avail[i]='Y';
        r_per[i]=0;
      }
  }
       else if(r_no[i]==2)
  {
    strcpy(r_type[i],"Dlx");
    r_charge[i]=1000;
    if(strcmp(r_cust[i],"N.A")==0)
      {
        r_avail[i]='Y';
        r_per[i]=0;
      }
  }
       else if(r_no[i]==3)
  {
    strcpy(r_type[i],"Gen");
    r_charge[i]=750;
    if(strcmp(r_cust[i],"N.A")==0)
      {
        r_avail[i]='Y';
        r_per[i]=0;
      }
  }
       else if(r_no[i]==4)
  {
    strcpy(r_type[i],"Coupl");
    r_charge[i]=1000;
    if(strcmp(r_cust[i],"N.A")==0)
      {
        r_avail[i]='Y';
        r_per[i]=0;
      }
  }
       else if(r_no[i]==5)
  {
    strcpy(r_type[i],"C Dlx");
    r_charge[i]=1500;
    if(strcmp(r_cust[i],"N.A")==0)
      {
        r_avail[i]='Y';
        r_per[i]=0;
      }
  }
     }
 }
void putavail()
 {

   screenheader();
   printf("\n ROOM AVAILABILITY");
   printf("\n  ");
   printf("\nRoom No| Type | Charge | Availability | Cust_Name | Period |");
   for(i=0;i<5;i++)
     {
      printf("\n%d\t",r_no[i]);
       puts(r_type[i]);
       if(i==0)
  printf("%d\t%c\t",r_charge[i],r_avail[i]);
       if((i==1) || (i==2))
  printf("%d\t%c\t",r_charge[i],r_avail[i]);
       if(i==3 || i==4)
  printf("%d\t%c\t",r_charge[i],r_avail[i]);
       puts(r_cust[i]);
       if((i==1) || (i==2))
  printf("\t%d",r_per[i]);
       else if((i==3) || (i==4))
  printf("\t%d",r_per[i]);
       else
  printf("\t%d",r_per[i]);
     }
 }
void features()
 {
   int typ;
   screenheader();
   printf("\nChoose the room type:\n1. Sp. Delux\n2. Delux");
   printf("\n3. General\n4. Couple\n5. C. Delux\n");
   scanf("%d",&typ);
   if(typ>5)
     {
       printf("\nWrong choice!! Choose a number between 1-5:");
       features();
     }
   switch(typ)
     {
       case 1:screenheader();
     
       printf("\n Room number>>>1");
       printf("\n Advance >>>750\n\n");
       printf("\n FEATURES OF THIS ROOM  ");
       printf("\n--");
       printf("\n\n Room Type>>> Sp.delux");
       printf("\n\n Room charges >>> Rs.1500 per day");
       printf("\n\n 1. Bed>>>2");
       printf("\n\n 2.Capacity           >>>      5");
       printf("\n\n 3.Balcony available     ");
       printf("\n---");
       printf("\n ADDITIONAL FEATURES ");
       printf("\n----");
       printf("\n\n 1.A/C  available ");
       printf("\n\n 2.Geyser available");
       printf("\n\n 3.TV available      ");
       printf("\n------");
       printf("\n NOTE :- Extra bed will cost Rs.50 per bed ");
       break;
       case 2:screenheader();
       printf("\n Room number >>>2\n\n");
       printf("\n Advance>>>500\n\n");
       printf("\n  FEATURES OF THIS ROOM    ");
       printf("\n-----");
       printf("\n\n Room Type            >>> Delux                                      ");
       printf("\n\n Room charges         >>>Rs.1000 per day");
       printf("\n\n 1. Bed               >>>      2");
       printf("\n\n 2.Capacity           >>>      5");
       printf("\n-------------------------------------------------------------------");
       printf("\n                    ADDITIONAL FEATURES                        ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n 1.A/C available   ");
       printf("\n\n 2.Geyser available");
       printf("\n\n 3.TV available      ");
       printf("\n-------------------------------------------------------------------");
       printf("\n NOTE :- Extra bed will cost Rs.50 per bed ");
       break;
       case 3:screenheader();
       printf("\n Room number            >>>3\n\n");
       printf("\n Advance                >>>400\n\n");
       printf("\n                      FEATURES OF THIS ROOM                       ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n Room Type            >>> General                                    ");
       printf("\n\n Room charges         >>>Rs.750 per day");
       printf("\n\n 1. Bed               >>>      2");
       printf("\n\n 2.Capacity           >>>      5");
       printf("\n-------------------------------------------------------------------");
       printf("\n                    ADDITIONAL FEATURES                        ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n 1.Geyser available      ");
       printf("\n-------------------------------------------------------------------");
       printf("\n NOTE :- Extra bed will cost Rs.50 per bed ");
       break;
       case 4:screenheader();
       printf("\n Room number            >>>4\n\n");
       printf("\n Advance                >>>500\n\n");
       printf("\n                      FEATURES OF THIS ROOM                       ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n Room Type            >>> Couple                                     ");
       printf("\n\n Room charges         >>>Rs.1000 per day");
       printf("\n\n 1. Bed               >>>      1");
       printf("\n\n 2.Capacity           >>>      2");
       printf("\n-------------------------------------------------------------------");
       printf("\n                    ADDITIONAL FEATURES                        ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n 1.Geyser available");
       printf("\n\n 2.TV available      ");
       printf("\n-------------------------------------------------------------------");
       printf("\n NOTE :- Extra bed will cost Rs.50 per bed ");
       break;
       case 5:screenheader();
       printf("\n Room number            >>>5\n\n");
       printf("\n Advance                >>>750\n\n");
       printf("\n                      FEATURES OF THIS ROOM                       ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n Room Type            >>> Couple Delux                                    ");
       printf("\n\n Room charges         >>>Rs.1500 per day");
       printf("\n\n 1. Bed               >>>      1");
       printf("\n\n 2.Capacity           >>>      2");
       printf("\n-------------------------------------------------------------------");
       printf("\n                    ADDITIONAL FEATURES                        ");
       printf("\n-------------------------------------------------------------------");
       printf("\n\n 1.A/C available   ");
       printf("\n\n 2.Geyser available");
       printf("\n\n 3.TV available      ");
       printf("\n-------------------------------------------------------------------");
       printf("\n NOTE :- Extra bed will cost Rs.50 per bed ");
       break;
     }
 }
void allocate()
 {

   screenheader();
   getavail();
   printf("\n Enter the room number in which you want to stay:");
   scanf("%d",&room);
   if(r_avail[room-1]=='Y')
     {
       fflush(stdin);
       printf("\n Enter Name of cust living :");
       gets(r_cust[room-1]);
       printf("\n Enter city name :");
       gets(c_city[room-1]);
       printf("\n Enter nationality :");
       gets(c_nat[room-1]);
       printf("\n For how many days cust want the room :");
       scanf("%d",&r_per[room-1]);
       printf("\n Enter no. of member in your group :");
       scanf("%d",&c_mem[room-1]);
       if((room==1)||(room==2)||(room==3))
  if((c_mem[room-1]<1)||(c_mem[room-1]>5))
    {
      printf("\n %d members cannot be allocated this room.Allowed members are between 1-5.",c_mem[room-1]);
      getch();
      allocate();
    }
       else if((room==4)||(room==5))
  if((c_mem[room-1]<1)||(c_mem[room-1]>2))
    {
      printf("\n %d members cannot be allocated this room.Allowed members are between 1-2.",c_mem[room-1]);
      getch();
      allocate();
    }
       printf("\n Enter the date of arrival :");
       printf("\n------------------------------");
       printf("\n Year : ");
       scanf("%d",&year[room-1]);
       printf("\n Month :");
       scanf("%d",&month[room-1]);
       printf("\n Day :");
       scanf("%d",&day[room-1]);
       if((year[room-1]>9999)||(month[room-1]>12)||(month[room-1]<1)||(day[room-1]<1)||(((month[room-1]==1)||(month[room-1]==3)||(month[room-1]==5)||(month[room-1]==7)||(month[room-1]==8)||(month[room-1]==10)||(month[room-1]==12))&&(day[room-1]>31))||(((month[room-1]==4)||(month[room-1]==6)||(month[room-1]==9)||(month[room-1]==11))&&(day[room-1]>30))||((month[room-1]==2)&&((year[room-1]%400==0)||((year[room-1]%4==0)&&(year[room-1]%100!=0)))&&(day[room-1]>29))||((month[room-1]==2)&&(year[room-1]%4!=0)&&(day[room-1]>28)))
  {
    Sleep(200);
    printf("\n\n!!!!!INVALID DATE........");
    getch();
    allocate();
  }
       else
  {
    printf("\n... Room is allocated to ");
    puts(r_cust[room-1]);
    printf(" for %d days.",r_per[room-1]);
    r_avail[room-1]='N';
    getch();
  }
     }
   else
     {
       printf("\n ERROR : Room cannot be allocated ...");
       printf("\n Room is not available...");
       getch();
     }
 }
void deallocate()
 {
   screenheader();
   printf("\nEnter the room number:");
   scanf("%d",&room);
   if(r_cust[room-1]=="N.A")
     {
       printf("\nThe room is empty........");
       getch();
     }
   else
     {
       printf("\nEnter the name of the person staying in the room:");
       fflush(stdin);
       gets(name);
       if(strcmpi(name,r_cust[room-1])==0)
  {
    printf("\nRoom number %d is deallocated......",room);
    strcpy(r_cust[room-1],"N.A");
    getch();
  }
       else
  {
    printf("\nInvalid name........");
    getch();
    deallocate();
  }
     }
   g_tot=(r_per[room-1]*r_charge[room-1])-advance[room-1]+tot[room-1];
   printf("\n\nYour total bill is %d",g_tot);
   printf("\n\n\nThanks for staying in this hotel.........");
 }
void cancel()
 {
   screenheader();
   printf("\nEnter the room number:");
   scanf("%d",&room);
   if(r_cust[room-1]=="N.A")
     {
       printf("\nThe room is empty........");
       getch();
     }
   else
     {
       printf("\nEnter the name of the person staying in the room:");
       fflush(stdin);
       gets(name);
       if(strcmpi(name,r_cust[room-1])==0)
  {
    printf("\nReservation for room number %d is cancelled......",room);
    strcpy(r_cust[room-1],"N.A");
    getch();
  }
       else
  {
    printf("\nInvalid name........");
    getch();
    cancel();
  }
     }
   g_tot=advance[room-1];
   printf("\n\nYour total bill is %d",g_tot);
 }
void putcust()
 {
   int j;
   screenheader();
   printf("\nEnter the room number :");
   scanf("%d",&room);
   j=strcmp(r_cust[room-1],"N.A");
   if(j==0)
     {
       printf("\n Data not available ");
       getch();
     }
   else
     {
       printf("\n Room No        :%d",r_no[room-1]);
       printf("\n Customer Name  :");
       puts(r_cust[room-1]);
       printf("\n Period         :%d",r_per[room-1]);
       printf("\n City           :");
       puts(c_city[room-1]);
       printf("\n Nationality    :");
       puts(c_nat[room-1]);
       printf("\n No of member   :%d",c_mem[room-1]);
       printf("\n Arrival Date   :%d/%d/%d",day[room-1],month[room-1],year[room-1]);
       getch();
     }
 }
void restaurant()
 {
   int count=0,z=0,fc[113],answ;
   char ans;
   int price[113]={245,245,245,245,240,240,240,240,235,235,250,235,235,220,
   215,230,215,240,250,250,250,250,250,250,250,255,245,245,245,245,250,240,
   240,360,290,360,290,370,295,360,290,360,290,250,360,290,360,290,250,370,
   290,360,290,250,250,280,245,290,235,265,240,290,300,256,240,265,270,255,
   255,240,240,235,220,25,30,25,30,35,35,25,30,35,25,35,25,25,30,100,105,105,
   100,105,100,105,125,105,105,100,105,110,115,100,100,100,105,105,105,105,
   125,105,120,120,100};
   char food[113][30]={"SHAHI PANEER","KADAI PANEER","CHEESE KORMA",
   "MALAI KOFTA","MATAR PANEER","PALAK PANEER","MIX VEG.","ALOO GOBI",
   "ALOO JEERA","CHANA MASALA","MATAR MUSHROOM","RAJMA MAKHANI","DAL MAKHANI",
   "MIXED RAITA","BUNDI RAITA","PINEAPPLE RAITA","SALAD(GREEN)","DUM ALOO",
   "MUSHROOM PANEER","MUTTON MASALA","MUTTON MUGHLAI","MUTTON KORMA",
   "MUTTON DO PYAZA","MUTTON SAGH","MUTTON DAHI","MUTTON ROGAN JOSH",
   "MUTTON CURRY","KADAI MUTTON","KEEMA LEVER","KEEMA MATAR","KEEMA EGG",
   "BRAIN CURRY","EGG CURRY","BUTTER CHICKEN","BUTTER CHICKEN(1/2)",
   "KADAI CHICKEN","KADAI CHICKEN(1/2)","BUTTER CHICKEN(BL)",
   "BUTTER CHICKEN(BL)(1/2)","CHICKEN MUGHLAI","CHICKEN MUGHLAI(1/2)",
   "CHICKEN MASALA","CHICKEN MASALA(1/2)","CHICKEN MASALA(1/4)",
   "CHICKEN SAGH","CHICKEN SAGH(1/2)","CHICKEN DAHI","CHICKEN DAHI(1/2)",
   "CHICKEN DAHI(1/4)","CHICKEN KORMA","CHICKEN KORMA(1/2)",
   "CHICKEN DO PYAZA","CHICKEN DO PYAZA(1/2)","FISH CURRY","CHICKEN CURRY",
   "CHICKEN CURRY(1/2)","CHICKEN CURRY(1/4)","CHILLI CHICKEN","TANDOORI ALOO",
   "CHICKEN TIKKA","SEEKH KABAB","FISH TIKKA","CHICKEN TANDOORI",
   "CHICKEN TANDOORI(1/2)","PANEER TIKKA","CHICKEN SEEKH KABAB",
   "CHICKEN HARA KABAB","CHICKEN BIRYANI","MUTTON BIRYANI","PANEER PULAO",
   "VEG.PULAO","JEERA RICE","STEAMED RICE","RUMALI ROTI","ROTI","NAN",
   "ALOO NAN","PANEER NAN","KEEMA NAN","PARANTHA","ALOO PARANTHA",
   "PANEER PARANTHA","PUDINA PARANTHA","BUTTER NAN","LACHCHA PARANTHA",
   "MISSI ROTI","KHASTA ROTI","VEG.BURGER","PANEER BURGER","CHEESE SANDWICH",
   "VEG.PATTI","CHICKEN PATTI","TEA","COFFEE","COLD COFFEE","PINEAPPLE",
   "STRAWBERRY","CHOCOLATE","BLACK FOREST","DOUBLE STORIED","TRIPLE STORIED",
   "SOFT CONE","VANILLA","STRAWBERRY","CHOCOLATE","CHOCO CHIPS","MANGO",
   "TUTTI FRUITY","LICHI","PISTA BADAM","CHOCOLATE PISTA BADAM","CHOCO DIP",
   "CHOCOLATE LICHI"};
   screenheader();
   printf("\n                        *********");
   printf("\n                        MENU CARD");
   printf("\n                        *********");
   printf("\n\n                        VEGETARIAN");
   for(i=0;i<113;count++,i++)
     {
       gotoxy(17,count+20);
       printf("%d",i+1);
       gotoxy(30,count+20);
       puts(food[i]);
       gotoxy(55,count+20);
       printf("%d",price[i]);
       if(count==17)
  {
    count=0;
    printf("\n                              PRESS ANY KEY TO CONTINUE");
    getch();
    screenheader();
  }
       if(i==18)
  {
    printf("\n\n       MUTTON\n");
    count +=3;
  }
       if(i==32)
  {
    printf("\n\n       CHICKEN\n");
    count +=3;
  }
       if(i==57)
  {
    printf("\n\n       BAR-BE-QUE\n");
    count +=3;
  }
       if(i==72)
  {
    printf("\n\n       ROTI-NAN-PARANTHA\n");
    count +=3;
  }
       if(i==91)
  {
    printf("\n\n       BEVERAGES\n");
    count +=3;
  }
       if(i==100)
  {
    printf("\n\n       ICE-CREAMS\n");
    count +=3;
  }
     }
   getch();
   screenheader();
   printf("\n\nPRESS 0 TO GO BACK TO MENU CARD\nPRESS 1 TO CONTINUE ");
   scanf("%d",&answ);
   switch(answ)
     {
       case 0:restaurant();
       break;

       case 1 :
        do
   {
     printf("ENTER THE FOOD CODE YOU WANT TO HAVE :: ");
     scanf("%d",&fc[z]);
     z++;
     puts("DO YOU WANT MORE(Y/N) ::");
     fflush(stdin);
     scanf("%c",&ans);
   }while ((ans=='y')||(ans=='Y'));
        printf("\nEnter your room number:");
        scanf("%d",&room);
        printf("\nEnter your name:");
        fflush(stdin);
        gets(name);
        if(strcmpi(name,r_cust[room-1])!=0)
   {
     printf("\nWrong name...:");
     getch();
     restaurant();
   }
        getch();
        screenheader();
        for(i=0;i<z;i++)
   {
     puts(food[fc[i]-1]);
     printf("\t\t\t%d\n",price[fc[i]-1]);
     tot[room-1] +=price[fc[i]-1];
   }
        printf("TOTAL\t\t\t\t%d",tot[room-1]);
        break;

       default:printf("\nWrong choice entered!!!");
        getch();
        restaurant();
     }
 }



 int main(){

  int x;

  int ch;
  char ans;
  printf("Loading");
  for(x = 0; x<10; x++)
  {
      printf(".",x);
      Sleep(200);
  }
  screenheader();
  int stat=Login();
  if(stat){
    screenheader();
   intro();
   do
     {
       screenheader();
       printf("\n\n\n                      Choose a category:\n");
       printf("                        1. Get availability\n");
       printf("                     2. Features of room\n");
       printf("                        3. Room allocation\n");
       printf("           4. Show customer details\n");
       printf("           5. Restaurant\n");
       printf("                        6. Cancellation\n");
       printf("                        7. Room Deallocation\n");
       printf("                 8. Exit\n");
       scanf("%d",&ch);
       switch(ch)
      {
        case 1:getavail();
          putavail();
        break;
        case 2:features();
          break;
        case 3:allocate();
          break;
        case 4:putcust();
          break;
        case 5:restaurant();
          break;
        case 6:cancel();
          break;
        case 7:deallocate();
          break;
        case 8:exit(0);
        default:printf("\n\n\nWrong choice!!!!\n\nPlease choose 1-6");
          getch();
      }
    printf("\n\nDo you want to continue:");
    fflush(stdin);
    scanf("%c",&ans);
     }while(ans=='y'||ans=='Y');
  }
  return 0;
}

21 November 2016

Electrical Equipment Industry of India


August 11, 2016
By RAM NATH
Any machine that is powered by electricity is considered as an electrical equipment. Such equipments usually consist of an enclosure, electrical components and a power switch that actually works as a trigger for the machine. Major appliances, small appliances, micro-controller and power tool all fall into the category of electrical equipments.
The power sector forms an integral part for the backbone of a developing nation. The successful functioning of the power sector depends on the consistent supply of electrical power through its network of high and low tension transmission lines, which in fact are the arteries and veins of the power sector. Consistent transmission depends on strategically placed transformers, capacitors and a host of other electrical equipment. So it is evident that the electrical industry forms the core of the power sector of any country. In India, the electrical industry is vast, estimated value Rs1,10,000 crore (US$ 25 billion), in 2010-2011. Some of the big names in this industry are Bharat Heavy Electricals Limited (BHEL), Crompton Greaves Ltd, ABB Ltd. India and Alstom Limited India.
The Indian electrical industry is multifaceted, manufacturing a diverse range of products which range from high technology equipment to low technology electrical components. The electrical industry is also an employment intensive sector, providing direct employment to 5,00,000 people and a further indirect employment to about one million people. It is natural that such a vast industry has sub-sectors. Sub-sectors mostly fall in the unorganized segment and are responsible for the production of a varied range of electrical equipment. Depending on the equipment manufactured, the electrical industry of our country can be broadly classified into two categories namely the generation equipment category responsible for the manufacturing of boilers, turbines and generators and the T&D category responsible for the manufacture of transformers, transmission cables switch gears, capacitors etc.
A developing nation like India needs constant improvement of the infrastructure of the electrical industry to maintain the consistent performance of the nation’s power sector which in turn will ensure a constant economic development. The performance graph of our electrical industry is highly inconsistent, as evident from the data that half yearly growth of the industry of 14.6% in 2007-2008 declined to 8.57% in 2008-2009. This can be attributed partially to the global economic crisis but still one encouraging aspect of the growth of the electrical industry is that it recorded a positive growth curve in comparison to the global growth which recorded a negative fall of minus 2.02% in 2008 in comparison to the 2007 data. Evidently, an intensive focus is necessary from the part of the Government on the betterment of the electrical industry and the power sector as a whole.
The Ministry of Power has envisaged a number of policy reforms and legislative steps to enhance the growth of the electrical industry and the power sector. Rajiv Gandhi Gramin Vidyutikaran Yojana (RGGVY) is one such proposed project. The scheduled implementation of the development plans outlined in the proposed projects of the Ministry of Power will definitely prove to be a shot in the arm for the electrical equipment manufacturers of the power sector. The Ministry proposed plans are also supposed to attract huge investments from the FIIs and other investors thus opening up new avenues of larger business opportunities for the electrical industry of India.
It is to be noted that the export growth rate of the electrical industry has increased considerably in 2005-2008, growing at a Compound Annual Growth Rate (CAGR) of 57.28% in comparison to the CAGR of 32.25% of the last decade. Despite the 2.02% slump in the global electrical equipment market, power cables and switch-gears of the Indian electrical equipment industry had a stake of 60% in the global market. Domestic market recorded a growth in the Voltage and Power transformers (28.6 and 25.7, respectively) though there was an overall decline of 6.04% in the electrical equipment market in the year 2008-2009. With the correct implementation of the development plans of the Ministry of Power at the right place and at the right time can bolster the current growth curve of the electrical industry sector a phenomenal upward growth than can be expected to cross the INR 400 billion mark by 2013.
The period of 2011 to 2013 has proved to be an extremely challenging phase for the electrical equipment industry of India. The industry showed a positive growth curve of 9% in the first half (H1) of 2011-2012. However, this was followed by a decline to 4.14% in the second quarter (Q2) of FY 2012 from 13.82% in the first quarter (Q1) of FY 2012. Such inconsistency in the performance of the industry can be attributed to a number of factors. Imports have grown by nearly 20% from China, South Korea, Germany and other EU countries. This significant influx in imports is seriously damaging the indigenous electrical equipment industry. There has been a significant hike in the price of the imported raw materials.
The power distribution sector needs immediate reforms so the financial viability can be maintained. Besides this, the reluctance of the electrical equipment industry to adapt to new technologies is blunting its competitive edge. A similar reluctance is also observed in promoting the R&D sector as evident from the recent data that only 1% of the net turnover of the electrical equipment industry is allotted to R&D. All these facts are substantiated by Mr. Ramesh Chandak, President (in 2012) of Indian Electrical and Electronics Manufacturers’ Association (IEEMA), an apex association of the manufacturers of electrical, industrial electronics and allied equipment.
India has ambitious plans of enhancing the Indian electrical equipment industry to a level where it can touch an output of $ 100 billion by 2022 and becoming a key player in the global export market. A 2012-2022 mission plan has been launched by the Minister for Heavy Industry Mr. Praful Patel. According to him, “It is imperative to build our own industry to make it competitive for its global growth, also looking at ways and means to draw in more investment.” He further added, “The size of the sector is growing, and companies can pool their resources for investing in R&D (Research & Development) for moving ahead.”
An ambitious plan, to touch the US$ 100 billion mark, but a lot of reforms is long due on the part of the Government. Government has to extend full cooperation to the electrical equipment industry of India, take positive measures to curtail the internal losses, so that the industry can be more self sufficient, and innovative, more punctual in delivering projects and be able to hone its competitive skills to that level where it can give a fair fight to the overseas competition in both the domestic and the global market. Only then can the Indian electrical equipment industry achieve its US$ 100 billion dream.


Electrical Equipment Industry of India


August 11, 2016
By RAM NATH
Any machine that is powered by electricity is considered as an electrical equipment. Such equipments usually consist of an enclosure, electrical components and a power switch that actually works as a trigger for the machine. Major appliances, small appliances, micro-controller and power tool all fall into the category of electrical equipments.
The power sector forms an integral part for the backbone of a developing nation. The successful functioning of the power sector depends on the consistent supply of electrical power through its network of high and low tension transmission lines, which in fact are the arteries and veins of the power sector. Consistent transmission depends on strategically placed transformers, capacitors and a host of other electrical equipment. So it is evident that the electrical industry forms the core of the power sector of any country. In India, the electrical industry is vast, estimated value Rs1,10,000 crore (US$ 25 billion), in 2010-2011. Some of the big names in this industry are Bharat Heavy Electricals Limited (BHEL), Crompton Greaves Ltd, ABB Ltd. India and Alstom Limited India.
The Indian electrical industry is multifaceted, manufacturing a diverse range of products which range from high technology equipment to low technology electrical components. The electrical industry is also an employment intensive sector, providing direct employment to 5,00,000 people and a further indirect employment to about one million people. It is natural that such a vast industry has sub-sectors. Sub-sectors mostly fall in the unorganized segment and are responsible for the production of a varied range of electrical equipment. Depending on the equipment manufactured, the electrical industry of our country can be broadly classified into two categories namely the generation equipment category responsible for the manufacturing of boilers, turbines and generators and the T&D category responsible for the manufacture of transformers, transmission cables switch gears, capacitors etc.
A developing nation like India needs constant improvement of the infrastructure of the electrical industry to maintain the consistent performance of the nation’s power sector which in turn will ensure a constant economic development. The performance graph of our electrical industry is highly inconsistent, as evident from the data that half yearly growth of the industry of 14.6% in 2007-2008 declined to 8.57% in 2008-2009. This can be attributed partially to the global economic crisis but still one encouraging aspect of the growth of the electrical industry is that it recorded a positive growth curve in comparison to the global growth which recorded a negative fall of minus 2.02% in 2008 in comparison to the 2007 data. Evidently, an intensive focus is necessary from the part of the Government on the betterment of the electrical industry and the power sector as a whole.
The Ministry of Power has envisaged a number of policy reforms and legislative steps to enhance the growth of the electrical industry and the power sector. Rajiv Gandhi Gramin Vidyutikaran Yojana (RGGVY) is one such proposed project. The scheduled implementation of the development plans outlined in the proposed projects of the Ministry of Power will definitely prove to be a shot in the arm for the electrical equipment manufacturers of the power sector. The Ministry proposed plans are also supposed to attract huge investments from the FIIs and other investors thus opening up new avenues of larger business opportunities for the electrical industry of India.
It is to be noted that the export growth rate of the electrical industry has increased considerably in 2005-2008, growing at a Compound Annual Growth Rate (CAGR) of 57.28% in comparison to the CAGR of 32.25% of the last decade. Despite the 2.02% slump in the global electrical equipment market, power cables and switch-gears of the Indian electrical equipment industry had a stake of 60% in the global market. Domestic market recorded a growth in the Voltage and Power transformers (28.6 and 25.7, respectively) though there was an overall decline of 6.04% in the electrical equipment market in the year 2008-2009. With the correct implementation of the development plans of the Ministry of Power at the right place and at the right time can bolster the current growth curve of the electrical industry sector a phenomenal upward growth than can be expected to cross the INR 400 billion mark by 2013.
The period of 2011 to 2013 has proved to be an extremely challenging phase for the electrical equipment industry of India. The industry showed a positive growth curve of 9% in the first half (H1) of 2011-2012. However, this was followed by a decline to 4.14% in the second quarter (Q2) of FY 2012 from 13.82% in the first quarter (Q1) of FY 2012. Such inconsistency in the performance of the industry can be attributed to a number of factors. Imports have grown by nearly 20% from China, South Korea, Germany and other EU countries. This significant influx in imports is seriously damaging the indigenous electrical equipment industry. There has been a significant hike in the price of the imported raw materials.
The power distribution sector needs immediate reforms so the financial viability can be maintained. Besides this, the reluctance of the electrical equipment industry to adapt to new technologies is blunting its competitive edge. A similar reluctance is also observed in promoting the R&D sector as evident from the recent data that only 1% of the net turnover of the electrical equipment industry is allotted to R&D. All these facts are substantiated by Mr. Ramesh Chandak, President (in 2012) of Indian Electrical and Electronics Manufacturers’ Association (IEEMA), an apex association of the manufacturers of electrical, industrial electronics and allied equipment.
India has ambitious plans of enhancing the Indian electrical equipment industry to a level where it can touch an output of $ 100 billion by 2022 and becoming a key player in the global export market. A 2012-2022 mission plan has been launched by the Minister for Heavy Industry Mr. Praful Patel. According to him, “It is imperative to build our own industry to make it competitive for its global growth, also looking at ways and means to draw in more investment.” He further added, “The size of the sector is growing, and companies can pool their resources for investing in R&D (Research & Development) for moving ahead.”
An ambitious plan, to touch the US$ 100 billion mark, but a lot of reforms is long due on the part of the Government. Government has to extend full cooperation to the electrical equipment industry of India, take positive measures to curtail the internal losses, so that the industry can be more self sufficient, and innovative, more punctual in delivering projects and be able to hone its competitive skills to that level where it can give a fair fight to the overseas competition in both the domestic and the global market. Only then can the Indian electrical equipment industry achieve its US$ 100 billion dream.