Horoscope In Java 




import java.util.*;
class horoscope{
public static void main(String arg[]){
Scanner s = new Scanner(System.in);
int date, month;

System.out.println(" Chauhan Tricks");

System.out.println("enter your date ");
date=s.nextInt();
System.out.println("enter your month ");
month=s.nextInt();
if((date>=21&&month==2)||(date<=19&&month==1))
{
System.out.println("You are Aries!. Aries is the first sign of the Zodiac and associated with fresh vigor and new beginnings");
System.out.println("Symbol\t= The Ram");
System.out.println("Group\t= Emotional");
System.out.println("Polarity\t= Positive");
System.out.println("Element\t= Fire");
System.out.println("Fav colour\t= Red");
System.out.println("Ruling Planet\t= Mars");
System.out.println("Lucky Gem\t= Diamond");
System.out.println("Best Day\t= Tuesday");
System.out.println("\n\n\n\n ******* Thanks For Use My Program, Good Luck! *******\n\n");
}
else if((date>=20&&month==3)||(date<=18&&month==4))
{
System.out.println("You Are Aquarius!. Aquarius is the eleventh sign of the Zodiac and associated with future ideas and the unusual.");
System.out.println("Symbol\t= The water Bearer");
System.out.println("Group\t= Theoretical");
System.out.println("Polarity\t= Positive");
System.out.println("Element\t= Air");
System.out.println("Fav colour\t= turquoise");
System.out.println("Ruling Planet\t= Uranus");
System.out.println("Lucky Gem\t= Turquoise");
System.out.println("Best Day\t= Saturday");
System.out.println("\n\n\n\n ******* Thanks For Use My Program, Good Luck! *******\n\n");
}
else if((date>=19&&month==2)||(date<=20&&month==3))
{
System.out.println("You Are Aquarius!. Aquarius is the eleventh sign of the Zodiac and associated with future ideas and the unusual.");
System.out.println("Symbol\t= The water Bearer");
System.out.println("Group\t= Theoretical");
System.out.println("Polarity\t= Positive");
System.out.println("Element\t= Air");
System.out.println("Fav colour\t= turquoise");
System.out.println("Ruling Planet\t= Uranus");
System.out.println("Lucky Gem\t= Turquoise");
System.out.println("Best Day\t= Saturday");
System.out.println("\n\n\n\n ******* Thanks For Use My Program, Good Luck! *******\n\n");
}
else if((date>=20&&month==4)||(date<=20&&month==5))
{
System.out.println("You Are Aquarius!. Aquarius is the eleventh sign of the Zodiac and associated with future ideas and the unusual.");
System.out.println("Symbol\t= The water Bearer");
System.out.println("Group\t= Theoretical");
System.out.println("Polarity\t= Positive");
System.out.println("Element\t= Air");
System.out.println("Fav colour\t= turquoise");
System.out.println("Ruling Planet\t= Uranus");
System.out.println("Lucky Gem\t= Turquoise");
System.out.println("Best Day\t= Saturday");
System.out.println("\n\n\n\n ******* Thanks For Use My Program, Good Luck! *******\n\n");
}
else if((date>=21&&month==5)||(date<=20&&month==6))
{
System.out.println("You Are Aquarius!. Aquarius is the eleventh sign of the Zodiac and associated with future ideas and the unusual.");
System.out.println("Symbol\t= The water Bearer");
System.out.println("Group\t= Theoretical");
System.out.println("Polarity\t= Positive");
System.out.println("Element\t= Air");
System.out.println("Fav colour\t= turquoise");
System.out.println("Ruling Planet\t= Uranus");
System.out.println("Lucky Gem\t= Turquoise");
System.out.println("Best Day\t= Saturday");
System.out.println("\n\n\n\n ******* Thanks For Use My Program, Good Luck! *******\n\n");
}
else if((date>=21&&month==6)||(date<=22&&month==7))
{
System.out.println("You Are Aquarius!. Aquarius is the eleventh sign of the Zodiac and associated with future ideas and the unusual.");
System.out.println("Symbol\t= The water Bearer");
System.out.println("Group\t= Theoretical");
System.out.println("Polarity\t= Positive");
System.out.println("Element\t= Air");
System.out.println("Fav colour\t= turquoise");
System.out.println("Ruling Planet\t= Uranus");
System.out.println("Lucky Gem\t= Turquoise");
System.out.println("Best Day\t= Saturday");
System.out.println("\n\n\n\n ******* Thanks For Use My Program, Good Luck! *******\n\n");
}
else if((date>=23&&month==7)||(date<=22&&month==8))
{
System.out.println("You Are Aquarius!. Aquarius is the eleventh sign of the Zodiac and associated with future ideas and the unusual.");
System.out.println("Symbol\t= The water Bearer");
System.out.println("Group\t= Theoretical");
System.out.println("Polarity\t= Positive");
System.out.println("Element\t= Air");
System.out.println("Fav colour\t= turquoise");
System.out.println("Ruling Planet\t= Uranus");
System.out.println("Lucky Gem\t= Turquoise");
System.out.println("Best Day\t= Saturday");
System.out.println("\n\n\n\n ******* Thanks For Use My Program, Good Luck! *******\n\n");
}
else if((date>=23&&month==8)||(date<=22&&month==9))
{
System.out.println("You Are Aquarius!. Aquarius is the eleventh sign of the Zodiac and associated with future ideas and the unusual.");
System.out.println("Symbol\t= The water Bearer");
System.out.println("Group\t= Theoretical");
System.out.println("Polarity\t= Positive");
System.out.println("Element\t= Air");
System.out.println("Fav colour\t= turquoise");
System.out.println("Ruling Planet\t= Uranus");
System.out.println("Lucky Gem\t= Turquoise");
System.out.println("Best Day\t= Saturday");
System.out.println("\n\n\n\n ******* Thanks For Use My Program, Good Luck! *******\n\n");
}
else if((date>=23&&month==9)||(date<=22&&month==10))
{
System.out.println("You Are Aquarius!. Aquarius is the eleventh sign of the Zodiac and associated with future ideas and the unusual.");
System.out.println("Symbol\t= The water Bearer");
System.out.println("Group\t= Theoretical");
System.out.println("Polarity\t= Positive");
System.out.println("Element\t= Air");
System.out.println("Fav colour\t= turquoise");
System.out.println("Ruling Planet\t= Uranus");
System.out.println("Lucky Gem\t= Turquoise");
System.out.println("Best Day\t= Saturday");
System.out.println("\n\n\n\n ******* Thanks For Use My Program, Good Luck! *******\n\n");
}
else if((date>=23&&month==10)||(date<=21&&month==11))
{
System.out.println("You Are Aquarius!. Aquarius is the eleventh sign of the Zodiac and associated with future ideas and the unusual.");
System.out.println("Symbol\t= The water Bearer");
System.out.println("Group\t= Theoretical");
System.out.println("Polarity\t= Positive");
System.out.println("Element\t= Air");
System.out.println("Fav colour\t= turquoise");
System.out.println("Ruling Planet\t= Uranus");
System.out.println("Lucky Gem\t= Turquoise");
System.out.println("Best Day\t= Saturday");
System.out.println("\n\n\n\n ******* Thanks For Use My Program, Good Luck! *******\n\n");
}
else if((date>=22&&month==11)||(date<=21&&month==12))
{
System.out.println("You Are Aquarius!. Aquarius is the eleventh sign of the Zodiac and associated with future ideas and the unusual.");
System.out.println("Symbol\t= The water Bearer");
System.out.println("Group\t= Theoretical");
System.out.println("Polarity\t= Positive");
System.out.println("Element\t= Air");
System.out.println("Fav colour\t= turquoise");
System.out.println("Ruling Planet\t= Uranus");
System.out.println("Lucky Gem\t= Turquoise");
System.out.println("Best Day\t= Saturday");
System.out.println("\n\n\n\n ******* Thanks For Use My Program, Good Luck! *******\n\n");
}
}
}
Share To:

Adeel Rasheed

Full Stack Website Developer

Post A Comment:

0 comments so far,add yours