how to program ENTER MONTH, ENTER YEAR, ENTER DAY, using if else. please help guys. need the format. thankyou so much
5 Answers
New Answer8/20/2018 12:02:30 PM
Romel Catubig5 Answers
New AnswerOn Java: ====================== import java.util.Date; public class DateDemo { public static void main(String args[]) { // Instantiate a Date object Date date = new Date(); // display time and date using toString() System.out.println(date.toString()); } }
i will use Scanner for the input enter month year and day. the the output is zodiac sign: and birth stone:
only the example out is given to us. Enter Month: 6 Enter Year: 1990 Enter day: 4 Zodiac Sign : Virgo Birth stone : pearl just like that using if else conditon. i dont know how to start program. also using Scanner. please help us guys. thanksyou
oh! for this may be some library is available but if not then you need to perfect knowledge of Astrology! i am sorry, i didn't know in PHP library is available or not!
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message