Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 2828 points

NoName

Favorite Answers13%
Answers157
  • Java while-Loop with yes/no conditions using Char?

    i can't stick the loop in my program..

    need to use any Looping (While/Do/For) inserting if/else condition in the middle then continuing with yes or no if they want to retake it and No to quit. If you can't use CHAR, you can replace the yes=1 no=2. Would appreciate any help possible!

    import java.io.*;

    public class SECRET

    {

    public static void main(String[]args)throws IOException

    {

    BufferedReader in=new BufferedReader(new InputStreamReader(System.in));

    int birthdate;

    int birthmonth;

    System.out.println("Enter your birthdate");

    System.out.println("1 to 31 only");

    birthdate=Integer.parseInt(in.readLine());

    System.out.println("Enter your birthmonth");

    System.out.println("1 to 12 only");

    birthmonth=Integer.parseInt(in.readLine());

    if(birthdate>=21&&birthmonth==3)

    {

    System.out.println("You are an Aries");

    }

    else if(birthdate<=20&&birthmonth==4)

    {

    System.out.println("You are an Aries");

    }

    else if(birthdate>=21&&birthmonth==4)

    {

    System.out.println("You are a Taurus");

    }

    else if(birthdate<=20&&birthmonth==5)

    {

    System.out.println("You are a Taurus");

    }

    else if(birthdate>=21&&birthmonth==5)

    {

    System.out.println("You are a Gemini");

    }

    else if(birthdate<=20&&birthmonth==6)

    {

    System.out.println("You are a Gemini");

    }

    else if(birthdate>=21&&birthmonth==6)

    {

    System.out.println("You are a Cancer");

    }

    else if(birthdate<=20&&birthmonth==7)

    {

    System.out.println("You are a Cancer");

    }

    else if(birthdate>=21&&birthmonth==7)

    {

    System.out.println("You are a Leo");

    }

    else if(birthdate<=20&&birthmonth==8)

    {

    System.out.println("You are a Leo");

    }

    else if(birthdate>=21&&birthmonth==8)

    {

    System.out.println("You are a Virgo");

    }

    else if(birthdate<=20&&birthmonth==9)

    {

    System.out.println("You are a Virgo");

    }

    else if(birthdate>=21&&birthmonth==9)

    {

    System.out.println("You are a Libra");

    }

    else if(birthdate<=20&&birthmonth==10)

    {

    System.out.println("You are a Libra");

    }

    else if(birthdate>=21&&birthmonth==10)

    {

    System.out.println("You are a Scorpio");

    }

    else if(birthdate<=20&&birthmonth==11)

    {

    System.out.println("You are a Scorpio");

    }

    else if(birthdate>=21&&birthmonth==11)

    {

    System.out.println("You are a Scorpio");

    }

    else if(birthdate<=20&&birthmonth==12)

    {

    System.out.println("You are a Sagittarius");

    }

    else if(birthdate>=21&&birthmonth==12)

    {

    System.out.println("You are a Sagittarius");

    }

    else if(birthdate<=20&&birthmonth==1)

    {

    System.out.println("You are a Capricorn");

    }

    else if(birthdate>=21&&birthmonth==1)

    {

    System.out.println("You are a Capricorn");

    }

    else if(birthdate<=20&&birthmonth==2)

    {

    System.out.println("You are an Aquarius");

    }

    else if(birthdate>=21&&birthmonth==2)

    {

    System.out.println("You are an Aquarius");

    }

    else if(birthdate<=20&&birthmonth==3)

    {

    System.out.println("You are a Pisces");

    }

    else

    {

    System.out.println("Invalid Input");

    }

    String cont;

    char ans;

    System.out.println("Do you want to continue?");

    System.out.println("If Yes, press Y. If No, press N");

    cont=in.readLine();

    }

    }

    If anyone wants to use this,go ahead.It works except for the looping. It asks the user for 2numbers(bdate&bmonth) and then gives the user their corresponding Western ZodiacSign (",

    1 AnswerProgramming & Design9 years ago
  • Who is it am I summoning?

    I researched of e-books regarding incantations, witchcraft and spells, and it writes that it is better to do it at the witch's hour (3am). Although I have written the character of one of the names of Marduk in the Necronomicon, there is still a possibility that instead of a devil, it is an angel you summon. But the point is, I wasn't able to do the ritual or call upon their name. Yet, on a fateful night as I have written that sign, someone called to me. In my dreams I can see a vague image of an arm reaching out for me. And as I reached for it, I awaken to the wee hours of exactly 3am. How can I know who it is calling for me to invoke them?

    6 AnswersReligion & Spirituality1 decade ago
  • Hope you can help. Know of a french movie about 3 friends, two guys and a girl in time of german occupancy?

    It was the first time I've seen real life guys kissing and I didn't watch it from the start. The part that occupy my mind was that these 3 friends were walking then the girl went ahead, and out of the blue this one guy (dark haired) grabs hold of this other guy (blonde) and kisses him oh-so passionately. Moving along, the story then continues to where Hitler snatches gay men and sends the blonde to a camp for correcting. It would really help ease my mind to know of it. If anyone knows, please help. Thanks!