Prints Program Solution

Write one program that prints out a user’s astrological sign

The program should ask a user to enter his or her birth month and year use a switch statement to examine the months and the correct if statement so that the program may determine the birthdate and its relation to astrology

Use the chart below

Sign birth dates sign birthdates

aries 3/21-4/19 libra 9/23-10/22

taurus 4/20-5/20 scorpio 10/23-11/21

gemini 5/21-6/21 sagitarrius 11/22-12/21

cancer 6/22-7/22 capricorn 12/22-1/19

leo 7/23-8/22 aquarius 1/20-2/18

virgo 8/23-9/22 pisces 2/19-3/20

C++ program

 
Powered by