answersLogoWhite

0

#include <stdio.h> #include<string.h> main() { char s[80]; int d; clrscr(); printf("enter the month of your birthday: "); gets(s); if(!(strcmp(s, "january"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=19) printf("\n CAPRICORN"); else printf("\n AQUARIUS"); } if(!(strcmp(s, "february"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=18) printf("\n AQUARIUS"); else printf("\n PISCES"); } if(!(strcmp(s, "march"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=20) printf("\n PISCES"); else printf("\n ARIES"); } if(!(strcmp(s, "april"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=19) printf("\n ARIES"); else printf("\n TAURUS"); } if(!(strcmp(s, "may"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=20) printf("\n TAURUS"); else printf("\n GEMINI"); } if(!(strcmp(s, "june"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=20) printf("\n GEMINI"); else printf("\n CANCER"); } if(!(strcmp(s, "july"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=22) printf("\n CANCER"); else printf("\n LEO"); } if(!(strcmp(s, "august"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=22) printf("\n LEO"); else printf("\n VIRGO"); } if(!(strcmp(s, "september"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=22) printf("\n VIRGO"); else printf("\n LIBRA"); } if(!(strcmp(s, "october"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=22) printf("\n LIBRA"); else printf("\n SCORPIO"); } if(!(strcmp(s, "november"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=21) printf("\n SCORPIO"); else printf("\n SAGITTARIUS"); } if(!(strcmp(s, "december"))) { printf("\n enter the date of your birthday: "); scanf("%i", &d); if(d<=21) printf("\n SAGITTARIUS"); else printf("\n CAPRICORN"); } getch(); }

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What happended at bunker hill?

someone named somebody and someone else and also someone was there someone named somebody and someone else and also someone was there someone named somebody and someone else and also someone was there someone named somebody and someone else and also someone was there


Is there someone who can help you learn Chinese?

A Chinese tutor, or a Chinese language course. You may also be able to learn from an immersion computer program, especially if coupled by practicing with friends and acquaintances who speak Chinese.


When was Someone to Somebody created?

Someone to Somebody was created in 1986.


When was Somebody's Someone created?

Somebody's Someone was created in 2006.


When was Somebody Someone created?

Somebody Someone was created on 2000-07-03.


What is a sooner?

A sooner was somebody staking a piece of land in the 1889 Oklahoma.


What is the difference between somebody else and someone else?

The difference is that "somebody" is informal or colloquial. Use "someone."


Is the word someone an indefinite pronoun?

Someone and somebody have no difference in meaning. Somebody is a little less formal than someone. Someone is used more in writing than somebody.


What is different somebody and someone?

Someone &amp; somebody mean the same thing. The words are used differently depending on the sentence structure.


Who sings the song that goes someone like you somebody..... somebody?

Keith urban


What do you do when you punish somebody?

You Penalize Someone.


What are the uses of the word somebody?

The use of the word "Somebody" is usually in order to refer to no one particularly. Versus when someone uses the word someone they tend to be someone specific.