SlideShare a Scribd company logo
By :

Sushil Kumar Mishra

ECE – I (2nd Semester)

05311502809
/* This code is used to determine certain information by giving the

necessary data */




/*Author: Sushil Kumar Mishra */




#include <stdio.h>

#include <conio.h>

#include <string.h>

#include <DOS.h>

int menu();

int year, month, day;

void main()

{

start:

clrscr();

printf("Enter Year (1970-2010): ");

scanf("%d",&year);

if (year<1970||year>2010)

goto start;

skip:
printf("nEnter Your Month No. (1-12): ");

scanf("%d",&month);

if (month==1)

       {

       back:

       printf("nEnter Day (1-31): ");

       scanf("%d",&day);

       if (day<=19)

                {

                clrscr();

                printf("nnYour date of birth is: %d-%d-%d",month,day,year);

                menu();

                printf("nYou are born on the month of JANUARY.");

                printf("nYour BirthStone is GARNET.");

                printf("nYou are a CAPRICORN.");

                }

       else if (day>19&&day<=31)

                {

                clrscr();

                printf("nYour date of birth is: %d-%d-%d",month,day,year);

                menu();

                printf("nYou are born on the month of JANUARY.");

                printf("nYour BirthStone is GARNET.");

                printf("nYou are an AQUARIUS.");

                }
else

               {printf("nnEnter Correct Day!!!!!!");

               goto back;}

      }




else if (month==2)

      {

      back1:

      printf("nEnter Day (1-29):");

      scanf("%d",&day);

      if (day<=18)

               {

               clrscr();

               printf("nnYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of FEBRUARY.");

               printf("nYour BirthStone is AMETHYST.");

               printf("nYou are an AQUARIUS.");

               }

      else if (day>18&&day<=29)

               {

               clrscr();

               printf("nYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of FEBRUARY.");
printf("nYour BirthStone is AMETHYST.");

               printf("nYou are a PISCES.");

               }

      else

               {printf("nnEnter Correct Day!!!!!!");

               goto back1;}

      }

else if (month==3)

      {

      back2:

      printf("nEnter Day (1-31):");

      scanf("%d",&day);

      if (day<=20)

               {

               clrscr();

               printf("nnYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of MARCH.");

               printf("nYour BirthStone is AQUAMARINE or BLOODSTONE.");

               printf("nYou are a PISCES.");

               }

      else if (day>20&&day<=31)

               {

               clrscr();

               printf("nnYour date of birth is: %d-%d-%d",month,day,year);
menu();

               printf("nYou are born on the month of MARCH.");

               printf("nYour BirthStone is AQUAMARINE or BLOODSTONE.");

               printf("nYou are an ARIES.");

               }

      else

               {printf("nnEnter Correct Day!!!!!!");

               goto back2;}

      }

else if (month==4)

      {

      back3:

      printf("nEnter Day (1-30):");

      scanf("%d",&day);

      if (day<=19)

               {

               clrscr();

               printf("nnYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of APRIL.");

               printf("nYour BirthStone is DIAMOND.");

               printf("nYou are an ARIES.");

               }

      else if (day>19&&day<=30)

               {
clrscr();

               printf("nnYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of APRIL.");

               printf("nYour BirthStone is DIAMOND.");

               printf("nYou are a TAURUS.");

               }

      else

               {printf("nnEnter Correct Day!!!!!!");

               goto back3;}

      }




else if (month==5)

      {

      back4:

      printf("nEnter Day (1-31):");

      scanf("%d",&day);

      if (day<=20)

               {

               clrscr();

               printf("nYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of MAY.");

               printf("nYour BirthStone is EMERALD.");

               printf("nYou are a TAURUS.");
}

      else if (day>20&&day<=31)

               {

               clrscr();

               printf("nYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of MAY.");

               printf("nYour BirthStone is EMERALD.");

               printf("nYou are a GEMINI.");

               }

      else

               {printf("nnEnter Correct Day!!!!!!");

               goto back4;}

      }

else if (month==6)

      {

      back5:

      printf("nEnter Day (1-30):");

      scanf("%d",&day);

      if (day<=20)

               {

               clrscr();

               printf("nnYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of JUNE.");
printf("nYour BirthStone is PEARL, ALEXANDRITE or MOONSTONE.");

               printf("nYou are a GEMINI.");

               }

      else if (day>20&&day<=30)

               {

               clrscr();

               printf("nYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of JUNE.");

               printf("nYour BirthStone is PEARL, ALEXANDRITE or MOONSTONE.");

               printf("nYou are a CANCER.");

               }

      else

               {printf("nnEnter Correct Day!!!!!!");

               goto back5;}

      }

else if (month==7)

      {

      back6:

      printf("nEnter Day (1-31):");

      scanf("%d",&day);

      if (day<=22)

               {

               clrscr();

               printf("nnYour date of birth is: %d-%d-%d",month,day,year);
menu();

               printf("nYou are born on the month of JULY.");

               printf("nYour BirthStone is RUBY.");

               printf("nYou are a CANCER.");

               }

      else if (day>22&&day<=30)

               {

               clrscr();

               printf("nYour date of birth is:%d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of JULY.");

               printf("nYour BirthStone is RUBY.");

               printf("nYou are a LEO.");

               }

      else

               {printf("nnEnter Correct Day!!!!!!");

               goto back6;}

      }

else if (month==8)

      {

      back7:

      printf("nEnter Day (1-31):");

      scanf("%d",&day);

      if (day<=22)

               {
clrscr();

               printf("nnYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of AUGUST.");

               printf("nYour BirthStone is PERIDOT or SARDONYX.");

               printf("nYou are a LEO.");

               }

      else if (day>22&&day<=31)

               {

               clrscr();

               printf("nnYour date of birth is:%d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of AUGUST.");

               printf("nYour BirthStone is PERIDOT or SARDONYX.");

               printf("nYou are a VIRGO.");

               }

      else

               {printf("nnEnter Correct Day!!!!!!");

               goto back7;}

      }

else if (month==9)

      {

      back8:

      printf("nEnter Day (1-30):");

      scanf("%d",&day);
if (day<=22)

               {

               clrscr();

               printf("nnYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of SEPTEMBER.");

               printf("nYour BirthStone is SAPPHIRE.");

               printf("nYou are a VIRGO.");

               }

      else if (day>22&&day<=30)

               {

               clrscr();

               printf("nnYour date of birth is: %d-%d-%d",month,day,year);

               menu();

               printf("nYou are born on the month of SEPTEMBER.");

               printf("nYour BirthStone is SAPPHIRE.");

               printf("nYou are a LIBRA.");

               }

      else

               {printf("nnEnter Correct Day!!!!!!");

               goto back8;}

      }

else if (month==10)

      {

      back9:
printf("nEnter Day (1-31):");

       scanf("%d",&day);

       if (day<=22)

              {

              clrscr();

              printf("nnYour date of birth is: %d-%d-%d",month,day,year);

              menu();

              printf("nYou are born on the month of OCTOBER.");

              printf("nYour BirthStone is OPAL or TOURMALINE.");

              printf("nYou are a LIBRA.");

              }

       else if (day>22&&day<=31)

              {

              clrscr();

              printf("nnYour date of birth is: %d-%d-%d",month,day,year);

              menu();

              printf("nYou are born on the month of OCTOBER.");

              printf("nYour BirthStone is OPAL or TOURMALINE.");

              printf("nYou are a SCORPIO.");

              }

       else

              {printf("nnEnter Correct Day!!!!!!");

              goto back9;}

       }

else if (month==11)
{

back10:

printf("nEnter Day (1-30):");

scanf("%d",&day);

if (day<=21)

       {

       clrscr();

       printf("nnYour date of birth is: %d-%d-%d",month,day,year);

       menu();

       printf("nYou are born on the month of NOVEMBER.");

       printf("nYour BirthStone is TOPAZ.");

       printf("nYou are a SCORPIO.");

       }

else if (day>21&&day<=30)

       {

       clrscr();

       printf("nnYour date of birth is: %d-%d-%d",month,day,year);

       menu();

       printf("nYou are born on the month of NOVEMBER.");

       printf("nYour BirthStone is TOPAZ.");

       printf("nYou are a SAGITARIUS.");

       }

else

       {printf("nnEnter Correct Day!!!!!!");

       goto back10;}
}




else if (month==12)

      {

      back11:

      printf("nEnter Day (1-31):");

      scanf("%d",&day);

      if (day<=21)

             {

             clrscr();

             printf("nnYour date of birth is: %d-%d-%d",month,day,year);

             menu();

             printf("nYou are born on the month of DECEMBER.");

             printf("nYour BirthStone is TURQUOISE OR ZIRCON.");

             printf("nYou are a SAGITARIUS.");

             }

      else if (day>21&&day<=31)

             {

             clrscr();

             printf("nnYour date of birth is: %d-%d-%d",month,day,year);

             menu();

             printf("nYou are born on the month of DECEMBER.");

             printf("nYour BirthStone is TURQUOISE OR ZIRCON.");

             printf("nYou are a CAPRICORN.");

             }
else

              {printf("nnEnter Correct Day!!!!!!");

              goto back11;}

       }

else

       {printf("nnEnter Correct No.!!!!!!");

       delay (99999999);

       delay (99999999);

       delay (99999999);

       delay (99999999);

       goto skip;}

getch();

}

int menu()           //Fuction//

{

if (year==1992||year==1980||year==2004)

       printf("nYou are born on the Year of the MONKEY.");

else if (year==1993||year==1981||year==2005)

       printf("nYou are born on the Year of the ROOSTER.");

else if (year==1994||year==2006||year==1982||year==1970)

       printf("nYou are born on the Year of the DOG.");

else if (year==1995||year==2007||year==1971||year==1983)

       printf("nYou are born on the Year of the BOAR.");

else if (year==1996||year==2008||year==1984||year==1972)

       printf("nYou are born on the Year of the RAT.");
else if (year==1997||year==2009||year==1985||year==1973)

      printf("nYou are born on the Year of the OX.");

else if (year==1998||year==2010||year==1986||year==1974)

      printf("nYou are born on the Year of the TIGER.");

else if (year==1975||year==1999||year==1987)

      printf("nYou are born on the Year of the RABBIT.");

else if (year==1976||year==2000||year==1988)

      printf("nYou are born on the Year of the DRAGON.");

else if (year==1977||year==2001||year==1989)

      printf("nYou are born on the Year of the SNAKE.");

else if (year==2002||year==1978||year==1990)

      printf("nYou are born on the Year of the HORSE.");

else if (year==2003||year==1979||year==1991)

      printf("nYou are born on the Year of the RAM.");

return;

}
Mythological calender using C++
Mythological calender using C++
Mythological calender using C++

More Related Content

PDF
Python workshop
PDF
Maintain and share your python project (維護和分享 Python 程式專案)
DOC
Calender for the project
PDF
Python Puzzlers
PPTX
First python project
PDF
Workshop programs
PPTX
Python programming - Everyday(ish) Examples
PPTX
Heart beat monitor using AT89S52 microcontroller
Python workshop
Maintain and share your python project (維護和分享 Python 程式專案)
Calender for the project
Python Puzzlers
First python project
Workshop programs
Python programming - Everyday(ish) Examples
Heart beat monitor using AT89S52 microcontroller

More from Sushil Mishra (13)

PDF
Opt sim manual
PDF
Consumer electronics lab manual
PPTX
Summer training at Doordarshan presentation
PDF
List of microcontroller 8051 projects
DOCX
Sequence Diagram of Hotel Management System
RTF
Trigger and cursor program using sql
PDF
c-programming-using-pointers
PDF
microprocessor 8086 lab manual !!
PPT
Tachometer using AT89S52 microcontroller with motor control
PDF
Report on industrial training at DDK, Mandi House, Delhi -01
DOC
Quiz using C++
PPT
Laser, its working & hazards
PDF
Designing a notch filter using orcad 15.3
Opt sim manual
Consumer electronics lab manual
Summer training at Doordarshan presentation
List of microcontroller 8051 projects
Sequence Diagram of Hotel Management System
Trigger and cursor program using sql
c-programming-using-pointers
microprocessor 8086 lab manual !!
Tachometer using AT89S52 microcontroller with motor control
Report on industrial training at DDK, Mandi House, Delhi -01
Quiz using C++
Laser, its working & hazards
Designing a notch filter using orcad 15.3
Ad

Recently uploaded (20)

PDF
Hazard Identification & Risk Assessment .pdf
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PPTX
Introduction to Building Materials
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
Indian roads congress 037 - 2012 Flexible pavement
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PDF
1_English_Language_Set_2.pdf probationary
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Hazard Identification & Risk Assessment .pdf
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
A systematic review of self-coping strategies used by university students to ...
LDMMIA Reiki Yoga Finals Review Spring Summer
Introduction to Building Materials
UNIT III MENTAL HEALTH NURSING ASSESSMENT
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
Indian roads congress 037 - 2012 Flexible pavement
Supply Chain Operations Speaking Notes -ICLT Program
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Final Presentation General Medicine 03-08-2024.pptx
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
Unit 4 Skeletal System.ppt.pptxopresentatiom
1_English_Language_Set_2.pdf probationary
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Ad

Mythological calender using C++

  • 1. By : Sushil Kumar Mishra ECE – I (2nd Semester) 05311502809
  • 2. /* This code is used to determine certain information by giving the necessary data */ /*Author: Sushil Kumar Mishra */ #include <stdio.h> #include <conio.h> #include <string.h> #include <DOS.h> int menu(); int year, month, day; void main() { start: clrscr(); printf("Enter Year (1970-2010): "); scanf("%d",&year); if (year<1970||year>2010) goto start; skip:
  • 3. printf("nEnter Your Month No. (1-12): "); scanf("%d",&month); if (month==1) { back: printf("nEnter Day (1-31): "); scanf("%d",&day); if (day<=19) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of JANUARY."); printf("nYour BirthStone is GARNET."); printf("nYou are a CAPRICORN."); } else if (day>19&&day<=31) { clrscr(); printf("nYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of JANUARY."); printf("nYour BirthStone is GARNET."); printf("nYou are an AQUARIUS."); }
  • 4. else {printf("nnEnter Correct Day!!!!!!"); goto back;} } else if (month==2) { back1: printf("nEnter Day (1-29):"); scanf("%d",&day); if (day<=18) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of FEBRUARY."); printf("nYour BirthStone is AMETHYST."); printf("nYou are an AQUARIUS."); } else if (day>18&&day<=29) { clrscr(); printf("nYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of FEBRUARY.");
  • 5. printf("nYour BirthStone is AMETHYST."); printf("nYou are a PISCES."); } else {printf("nnEnter Correct Day!!!!!!"); goto back1;} } else if (month==3) { back2: printf("nEnter Day (1-31):"); scanf("%d",&day); if (day<=20) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of MARCH."); printf("nYour BirthStone is AQUAMARINE or BLOODSTONE."); printf("nYou are a PISCES."); } else if (day>20&&day<=31) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year);
  • 6. menu(); printf("nYou are born on the month of MARCH."); printf("nYour BirthStone is AQUAMARINE or BLOODSTONE."); printf("nYou are an ARIES."); } else {printf("nnEnter Correct Day!!!!!!"); goto back2;} } else if (month==4) { back3: printf("nEnter Day (1-30):"); scanf("%d",&day); if (day<=19) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of APRIL."); printf("nYour BirthStone is DIAMOND."); printf("nYou are an ARIES."); } else if (day>19&&day<=30) {
  • 7. clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of APRIL."); printf("nYour BirthStone is DIAMOND."); printf("nYou are a TAURUS."); } else {printf("nnEnter Correct Day!!!!!!"); goto back3;} } else if (month==5) { back4: printf("nEnter Day (1-31):"); scanf("%d",&day); if (day<=20) { clrscr(); printf("nYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of MAY."); printf("nYour BirthStone is EMERALD."); printf("nYou are a TAURUS.");
  • 8. } else if (day>20&&day<=31) { clrscr(); printf("nYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of MAY."); printf("nYour BirthStone is EMERALD."); printf("nYou are a GEMINI."); } else {printf("nnEnter Correct Day!!!!!!"); goto back4;} } else if (month==6) { back5: printf("nEnter Day (1-30):"); scanf("%d",&day); if (day<=20) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of JUNE.");
  • 9. printf("nYour BirthStone is PEARL, ALEXANDRITE or MOONSTONE."); printf("nYou are a GEMINI."); } else if (day>20&&day<=30) { clrscr(); printf("nYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of JUNE."); printf("nYour BirthStone is PEARL, ALEXANDRITE or MOONSTONE."); printf("nYou are a CANCER."); } else {printf("nnEnter Correct Day!!!!!!"); goto back5;} } else if (month==7) { back6: printf("nEnter Day (1-31):"); scanf("%d",&day); if (day<=22) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year);
  • 10. menu(); printf("nYou are born on the month of JULY."); printf("nYour BirthStone is RUBY."); printf("nYou are a CANCER."); } else if (day>22&&day<=30) { clrscr(); printf("nYour date of birth is:%d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of JULY."); printf("nYour BirthStone is RUBY."); printf("nYou are a LEO."); } else {printf("nnEnter Correct Day!!!!!!"); goto back6;} } else if (month==8) { back7: printf("nEnter Day (1-31):"); scanf("%d",&day); if (day<=22) {
  • 11. clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of AUGUST."); printf("nYour BirthStone is PERIDOT or SARDONYX."); printf("nYou are a LEO."); } else if (day>22&&day<=31) { clrscr(); printf("nnYour date of birth is:%d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of AUGUST."); printf("nYour BirthStone is PERIDOT or SARDONYX."); printf("nYou are a VIRGO."); } else {printf("nnEnter Correct Day!!!!!!"); goto back7;} } else if (month==9) { back8: printf("nEnter Day (1-30):"); scanf("%d",&day);
  • 12. if (day<=22) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of SEPTEMBER."); printf("nYour BirthStone is SAPPHIRE."); printf("nYou are a VIRGO."); } else if (day>22&&day<=30) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of SEPTEMBER."); printf("nYour BirthStone is SAPPHIRE."); printf("nYou are a LIBRA."); } else {printf("nnEnter Correct Day!!!!!!"); goto back8;} } else if (month==10) { back9:
  • 13. printf("nEnter Day (1-31):"); scanf("%d",&day); if (day<=22) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of OCTOBER."); printf("nYour BirthStone is OPAL or TOURMALINE."); printf("nYou are a LIBRA."); } else if (day>22&&day<=31) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of OCTOBER."); printf("nYour BirthStone is OPAL or TOURMALINE."); printf("nYou are a SCORPIO."); } else {printf("nnEnter Correct Day!!!!!!"); goto back9;} } else if (month==11)
  • 14. { back10: printf("nEnter Day (1-30):"); scanf("%d",&day); if (day<=21) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of NOVEMBER."); printf("nYour BirthStone is TOPAZ."); printf("nYou are a SCORPIO."); } else if (day>21&&day<=30) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of NOVEMBER."); printf("nYour BirthStone is TOPAZ."); printf("nYou are a SAGITARIUS."); } else {printf("nnEnter Correct Day!!!!!!"); goto back10;}
  • 15. } else if (month==12) { back11: printf("nEnter Day (1-31):"); scanf("%d",&day); if (day<=21) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of DECEMBER."); printf("nYour BirthStone is TURQUOISE OR ZIRCON."); printf("nYou are a SAGITARIUS."); } else if (day>21&&day<=31) { clrscr(); printf("nnYour date of birth is: %d-%d-%d",month,day,year); menu(); printf("nYou are born on the month of DECEMBER."); printf("nYour BirthStone is TURQUOISE OR ZIRCON."); printf("nYou are a CAPRICORN."); }
  • 16. else {printf("nnEnter Correct Day!!!!!!"); goto back11;} } else {printf("nnEnter Correct No.!!!!!!"); delay (99999999); delay (99999999); delay (99999999); delay (99999999); goto skip;} getch(); } int menu() //Fuction// { if (year==1992||year==1980||year==2004) printf("nYou are born on the Year of the MONKEY."); else if (year==1993||year==1981||year==2005) printf("nYou are born on the Year of the ROOSTER."); else if (year==1994||year==2006||year==1982||year==1970) printf("nYou are born on the Year of the DOG."); else if (year==1995||year==2007||year==1971||year==1983) printf("nYou are born on the Year of the BOAR."); else if (year==1996||year==2008||year==1984||year==1972) printf("nYou are born on the Year of the RAT.");
  • 17. else if (year==1997||year==2009||year==1985||year==1973) printf("nYou are born on the Year of the OX."); else if (year==1998||year==2010||year==1986||year==1974) printf("nYou are born on the Year of the TIGER."); else if (year==1975||year==1999||year==1987) printf("nYou are born on the Year of the RABBIT."); else if (year==1976||year==2000||year==1988) printf("nYou are born on the Year of the DRAGON."); else if (year==1977||year==2001||year==1989) printf("nYou are born on the Year of the SNAKE."); else if (year==2002||year==1978||year==1990) printf("nYou are born on the Year of the HORSE."); else if (year==2003||year==1979||year==1991) printf("nYou are born on the Year of the RAM."); return; }