Suppose you are an astrologer and you are predicting the zodiac sign of the customer using month and date of the birth given by the user. Conditions to predict the zodiac sign are given in the following table: Zodiac Sign From - To December 22 - January 19 January 20 - February 17 February 18 - March 19 March 20 - April 19 April 20- May 20 May 21 - June 20 June 21- July 22 Capricorn Aquarius Pisces Aries Taurus Gemini Cancer July 23 - August 22 August 23 - September 22 September 23- October 22 October 23 - November 21 Leo Virgo Libra Scorpio Sagittarius November 22- December 21 Write a C program for the above scenario using if statement.

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter19: Probabilistic Dynamic Programming
Section19.4: Further Examples Of Probabilistic Dynamic Programming Formulations
Problem 7P
icon
Related questions
Question
Suppose you are an astrologer and you are predicting the zodiac sign of the customer using month and date of the
birth given by the user. Conditions to predict the zodiac sign are given in the following table:
Zodiac Sign
From - To
December 22 - January 19
January 20 - February 17
February 18 - March 19
March 20 - April 19
Capricorn
Aquarius
Pisces
Aries
April 20 - May 20
May 21 - June 20
June 21- July 22
July 23 - August 22
August 23 - September 22
September 23 - October 22
October 23 - November 21
Taurus
Gemini
Cancer
Leo
Virgo
Libra
Scorpio
Sagittarius
November 22 - December 21
Write a C program for the above scenario using if statement.
Transcribed Image Text:Suppose you are an astrologer and you are predicting the zodiac sign of the customer using month and date of the birth given by the user. Conditions to predict the zodiac sign are given in the following table: Zodiac Sign From - To December 22 - January 19 January 20 - February 17 February 18 - March 19 March 20 - April 19 Capricorn Aquarius Pisces Aries April 20 - May 20 May 21 - June 20 June 21- July 22 July 23 - August 22 August 23 - September 22 September 23 - October 22 October 23 - November 21 Taurus Gemini Cancer Leo Virgo Libra Scorpio Sagittarius November 22 - December 21 Write a C program for the above scenario using if statement.
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Single source shortest path
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
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage