Sign.java
to find out your Astrological SignAries 3/21-4/19 |
Leo 7/23-8/22 |
Sagittarius 11/22-12/21 |
Taurus 4/20-5/20 |
Virgo 8/23-9/22 |
Capricorn 12/22-1/19 |
Gemini 5/21-6/21 |
Libra 9/23-10/22 |
Aquarius 1/20-2/18 |
Cancer 6/22-7/22 |
Scorpio 10/23-11/21 |
Pisces 2/19-3/20 |
C:> java Sign Usage: java Sign month day gives the Astrological Sign of people born on month/day. C:> java Sign 11 Please input 2 arguments (month and day) Usage: java Sign month day gives the Astrological Sign of people born on month/day. C:> java Sign 11 30 22 Please input 2 arguments (month and day) Usage: java Sign month day gives the Astrological Sign of people born on month/day. C:> java Sign 11 24 Sagittarius C:> java Sign 2 12 Aquarius C:> java Sign 50 23 Month should be a number between 1 and 12. C:> java Sign 33 53 Month should be a number between 1 and 12. C:> java Sign 11 35 Day should be a number between 1 and 30. C:> java Sign 2 31 Day should be a number between 1 and 29. |
/** Name: Charles Li * Student ID : 000 000 000 * PIC ID: ccli * E-mail: ccli@math.ucla.edu * Discussion: 1A, Baber * Assignment: hw1 * * I, Charles Li, pledge that this is my own independent work, which * conforms to the guidelines of academic honesty as described in the course * syllabus. * */