### Fortune teller program

I am trying to make symbolic constants for telling the Zodiac signs but I have no clue how to do that.

Use the table of Zodiac Sign below:
AQUARIUS - January 20 – February 18
PISCES - February 19 – March 20
ARIES - March 21 – April 19
TAURUS - April 20 – May 20
GEMINI May 21 – June 20
CANCER June 21 – July 22
LEO July 23 – August 22
VIRGO August 23 – September 22
LIBRA September 23 – October 22
SCORPIO October 23 – November 21
SAGUITTARIUS November 22 – December 21
CAPRICORN December 22 – January 19

thats what I have so far but i'm getting errors.

//variable declerations

unsigned short birthDay;
unsigned short birthMonth;
string zodiacSign;
unsigned short luckyNumber;
string fortuneOfDay;
string suffix;

//symbolic constants

string January = 1;
string February = 2;
string March = 3;
string April = 4;
string May = 5;
string June = 6;
string July = 7;
string August = 8;
string September = 9;
string October = 10;
string November = 11;
string December = 12;

string AQUARIUS;
string PISCES;
string ARIES;
string TAURUS;
string GEMINI;
string CANCER;
string LEO;
string VIRGO;
string LIBRA;
string SCORPIO;
string SAGUITTARIUS;
string CAPRICORN;

these are the directions: Write a fortune teller in C++. Your program will ask the user for the month and day of birth. It will then print the birth date in words, followed by the zodiac sign of the user, a one-line fortune appropriate for that zodiac sign, and the lucky number of the user, calculated as the sum of all the digits in the birth date of the user.
`string January = 1;`

You are declaring 'January' as a string.

Yet you are assigning it a value of 1.

1 is an integer, it is not a string.

Either make it a string by putting it in quotes:
`string January = "1";`

Or make January an integer instead of a string:
`int January = 1;`
Topic archived. No new replies allowed.