Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a C program that will read in month and day (as numerical value). The program will return the equivalent zodiac sign. The output should
Write a C program that will read in month and day (as numerical value). The program will return the equivalent zodiac sign.
The output should be:
Task 2: Writing a Zodiac Sign C Program Write a C program that will read in month and day (as numerical value). The program will return the equivalent zodiac sign. NOTE: You may use the Zodiac Sign Table below as a reference Zodiac Signs Date Aquarius Jan 20 - Feb 18 Pisces Feb 19 - Mar 20 Anes Mar 21 - Apr 19 Taurus Apr 20 - May 20 Gemini May 21 - Jun 20 Cancer Jun 21 - Jul 22 Leo Jul 23 - Aug 22 Virgo Aug 23 - Sep 22 Libra Sep 23 - Oct 22 Scorpio Oct 23 - Nov 21 Sagittanus Nov 22-Dec 21 Sample Output 1: Enter month: 1 Enter day: 20 Zodiac sign for January 20 is Aquarius Sample Output 2: Enter month 2 Enter day 19 Zodiac sign for February 19 is Pisces Sample Output 3: Enter month Enter day 21 Zodiac sign for March Das Anes
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started