0
how to program ENTER MONTH, ENTER YEAR, ENTER DAY, using if else. please help guys. need the format. thankyou so much
5 Answers
+ 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());
}
}
0
i will use Scanner for the input enter month year and day. the the output is zodiac sign: and birth stone:
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
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!
0
its okay sir. thankyou so much sir.