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 Capricorn Aquarius Pisces Aries Taurus Gemini Cancer Lea Virgo Libra Scorpio Sagittarius 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 July 23 August 23 September 22 September 23 October 22 October 23-November 21 November 22-December 21 August 22 Write a C program for the above scenario using if statement. 4

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

I need answer quickly

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
Capricorn
Aquarius
Pisces
Aries
Taurus
Gemini
Cancer
From - To
Leo
Virgo
Libra
Scorpio
Sagittarius
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
July 23
August 22
August 23-September 22
September 23 October 22
October 23-November 21
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 Capricorn Aquarius Pisces Aries Taurus Gemini Cancer From - To Leo Virgo Libra Scorpio Sagittarius 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 July 23 August 22 August 23-September 22 September 23 October 22 October 23-November 21 November 22-December 21 Write a C program for the above scenario using if statement. ↳
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Problems on Dynamic Programming
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
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning