answersLogoWhite

0


Best Answer

#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

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can someone make write you a program that tells somebody their zodiac signs the program asks a person their year month and day they were born and it should be for the Chinese Zodiac and Western?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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 Somebody's Someone created?

Somebody's Someone was created in 2006.


When was Someone to Somebody created?

Someone to Somebody was created in 1986.


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."


How can you translate the Chinese characters in an email you received?

You can copy and paste the Chinese characters into an online translation tool or use a translation app on your smartphone to convert the text into English. Alternatively, you can ask a friend or a colleague who is fluent in Chinese to help you with the translation.


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.