0

how to program ENTER MONTH, ENTER YEAR, ENTER DAY, using if else. please help guys. need the format. thankyou so much

20th Aug 2018, 12:02 PM
Romel Catubig
Romel Catubig - avatar
5 Antworten
+ 1
On 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()); } }
20th Aug 2018, 12:09 PM
Rameshwor Nepal
Rameshwor Nepal - avatar
0
i will use Scanner for the input enter month year and day. the the output is zodiac sign: and birth stone:
20th Aug 2018, 12:20 PM
Romel Catubig
Romel Catubig - avatar
0
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
20th Aug 2018, 12:29 PM
Romel Catubig
Romel Catubig - avatar
0
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!
20th Aug 2018, 12:49 PM
Rameshwor Nepal
Rameshwor Nepal - avatar
0
its okay sir. thankyou so much sir.
20th Aug 2018, 12:55 PM
Romel Catubig
Romel Catubig - avatar