Codio Project File Edit Find View Tools Education Help I Compile & Run > Project Index (static) O Debug Current File task2.c 3. Task 2: Writing. 1. Your code goes here.... Collapse 3. 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 Aries Mar 21 - Apr 19 Taurus Apr 20 - May 2O Gemini May 21 - Jun 20 Cancer Jun 21 - Jul 22 Leo Jul 23 - Aug 22 Virgo Aug 23 - Sep 22 100% (1:0)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%
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: 3
Enter day: 21
Zodiac sign for March 21 is Aries
Sample Output 4:
Enter month: 4
Enter day: 20
Zodiac sign for April 20 is Taurus
Sample Output 5:
Enter month: 5
Enter day: 21
Zodiac sign for May 21 is Gemini
Sample Output 6:
Enter month: 6
Enter day: 21
Zodiac sign for June 21 is Cancer
Sample Output 7:
Enter month: 7
Enter day: 23
Zodiac sign for July 23 is Leo
Sample Output 8:
Enter month: 8
Enter day: 23
Zodiac sign for August 23 is Virgo
Sample Output 9:
Enter month: 9
Enter day: 23
Zodiac sign for September 23 is Libra
Sample Output 10:
Enter month: 10
Enter day: 23
Zodiac sign for October 23 is Scorpio
Sample Output 11:
Enter month: 11
Enter day: 22
Zodiac sign for November 22 is Sagittarius
Sample Output 12:
Enter month: 12
Enter day: 22
Zodiac sign for December 22 is Capricorn

 

Codio
Project
File
Edit
Find
View
Tools
Education
Help
A Compile & Run
• Project Index (static)
O Debug Current File
task2.c
3. Task 2: Writing...
1
Your code goes here...
Collapse
3. 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
Aries
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
100% (1:0)
Transcribed Image Text:Codio Project File Edit Find View Tools Education Help A Compile & Run • Project Index (static) O Debug Current File task2.c 3. Task 2: Writing... 1 Your code goes here... Collapse 3. 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 Aries 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 100% (1:0)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Computational Systems
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education