A program to input a date ( numeric day only entered separately) and output the corresponding astrological sign based on the table below:
DEC 22 - JAN 20 Capricorn
JAN 21 - FEB 19 Aquarius
FEB 20 - MAR 20 Pisces
MAR 21 - APR 20 Aries
APR 21 - MAY 21 Taurus
MAY 22 - JUN 21 Gemini
JUN 22 - JUL 23 Cancer
JUL 24 - AUG 23 Leo
AUG 24 - SEP 23 Virgo
SEP 24 - OCT 23 Libra
OCT 24 - NOV 23 Scorpio
NOV 24 - DEC 21 Sagittarius
1
Expert's answer
2012-07-20T11:22:37-0400
{ class Program { static void Main(string[] args) { Console.WriteLine("Input date DD MMM:"); string inputDate = Console.ReadLine(); int inputDay = Convert.ToInt32((inputDate.Split(' '))[0]); string inputMon = (inputDate.Split(' '))[1];
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments