Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

The output should be:

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

More Books

Students also viewed these Databases questions