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 2967 points

Melissa

Favorite Answers9%
Answers338

Hello :P

  • How to separate loops in Java?

    I have to have three loops - a while loop, a for loop, and a do/while loop - to make three charts that find the squares and cubes of the numbers from 0-10. I can only use one variable, which is counter. This is the code that I have:

    int counter = 0;

    for(counter=0; counter <=10; counter++)

    {

    {

    System.out.println(counter + " " + counter * counter +

    " " + (counter * counter * counter));

    }

    }

    while(counter <= 9)

    {

    counter++;

    System.out.println(counter + " " + counter * counter + " " + (counter*counter*counter));

    }

    do

    {

    counter++;

    System.out.println(counter + " " + counter * counter + " " + (counter*counter*counter));

    }while(counter <= 9);

    They work fine separately, but together the output is:

    0 0 0

    1 1 1

    2 4 8

    3 9 27

    4 16 64

    5 25 125

    6 36 216

    7 49 343

    8 64 512

    9 81 729

    10 100 1000

    12 144 1728

    And I need 3 charts of these numbers, but without the 12 144 1728. I don't know what to do. Help?

    1 AnswerProgramming & Design5 years ago
  • Java: while/do/for loops?

    Write a program that will ask the user to input the price of items purchased at a store. The program will continue to accept new input until the number 0 is entered. The program will keep track of the total price and the total number of items entered. The program will report the total number of items entered, the total price and the average price of the items

    How do I do this??

    Any help appreciated thanks!

    1 AnswerProgramming & Design5 years ago
  • How to find prime numbers in Java?

    My Java teacher wants us to find prime numbers in java.

    Only thing is, he only wants us to use system out put, if, and input statements... nothing else.

    How in the world do I do that?? I've been trying for six days, falling way behind in class because of it, and I'm afraid to ask for my teacher's help because he might lower my grade... I just really need help and I would appreciate the help! Thanks!

    2 AnswersProgramming & Design5 years ago
  • I have lumps? Anyone know what they may be?

    On the back of my neck are two lumps. One is pretty big and the other is small, sometimes it's hard to find. The 2 lumps are on the upper part of my neck and they're very, very close to my head that they may even be touching it. The lumps are on the inside of my body and not visible on the outside. Anyone know what they could be? Thank you! :)

    1 AnswerOther - Health6 years ago
  • I have lumps? Anyone know what they may be?

    On the back of my neck are two lumps. One is pretty big and the other is small, sometimes it's hard to find. The 2 lumps are on the upper part of my neck and they're very, very close to my head that they may even be touching it. The lumps are on the inside of my body and not visible on the outside. Anyone know what they could be? Thank you! :)

    1 AnswerSkin Conditions6 years ago
  • do i need to have my eyesight checked?

    sometimes my vision turns blurry for no reason, but i can blink it away fortunately. also, sometimes grey spots appear in my eyes. like theres a spot thats grey and i cant see out of it. but i can also blink that away too. also when i see an object, i usually see a blue or orange outline on it. the blurry vision and grey spots rarely happen, but the outlining happens all the time. is there something wrong with my eyes? btw i wear glasses

    2 AnswersOther - General Health Care7 years ago
  • should it be "is" or "are?"?

    should it be:

    One of the girls are having their hair brushed.

    or:

    One of the girls is having their hair brushed.

    Thanks for the help!!

    9 AnswersWords & Wordplay7 years ago
  • Do I add a comma before not?

    Sentence: The content of the book is what is interesting, not how I found it.

    Is that correct or do I need to use different punctuation in stead of the comma? Please help. Thanks!

    2 AnswersWords & Wordplay7 years ago
  • is can an article, a preposition, or neither?

    is can an article, a preposition, or neither?

    4 AnswersWords & Wordplay7 years ago
  • would can be capitalized in a title?

    is can capitalized in a title??

    2 AnswersHomework Help7 years ago
  • How much does it cost to go to a psychiatrist?

    How much does it usually cost to go to a psychiatrist? I'm thinking of asking my parents if I can go to a psychiatrist for my mental health, but I don't want to bankrupt them.

    2 AnswersMental Health7 years ago
  • How do I tell my parents about my mental illness?

    Since I was nine I've been seeing and hearing things that aren't real. It happens at least once every day now whereas it started about twice a week when I was younger. I was extremely afraid and told my parents when I started to see and hear these things (shadow men, footsteps down the hall at 3 am, knocking on the wall, etc) when I was younger, but my family broke into a fight, claiming that I wasn't mentally ill, but a person who could see ghosts (and ghosts do not exist). I'm afraid to tell them again, that the things I see and hear are growing more frequent.

    Also, my friend asked me to take a depression test since I show all the symptoms for depression. I took five different tests for depression online and all of them said that I suffer from severe depression and anxiety. I have frequent thoughts of suicide, especially when I see and hear things that aren't real.

    Also, I keep having nightmares. I keep dreaming about things in the past that haunt me. I also keep dreaming about these shadow men and sometimes I dream of dying or killing someone who's usually close to me. Sometimes I dream of my friends and family being killed by someone else. I've also dreamed of someone close to me getting severely hurt. I wake up in the middle of the night more frequently now.

    I don't know what else to call this but mental illness. How should I tell my family? I don't want another fight to break out and I don't want my family to think that I'm seeking attention. I really need help.

    6 AnswersMental Health7 years ago
  • If a polygon is regular then what would be the interior angle of a single interior angle?

    If a polygon is regular then what would be the interior angle of a single interior angle? (For a pentagon you would divide by 5). Give the formula.

    I'd really appreciate the help. Thanks!

    2 AnswersMathematics7 years ago
  • If a quadrilateral is divided into two triangles then does the sum of the interior angles change?

    I would really appreciate the help. If a quadrilateral is divided into two triangles then does the sum of the interior angles change? Why?

    Thank you!

    2 AnswersMathematics7 years ago
  • Is can capitalized in a title?

    Is it:

    1. No One Can Save the Human Race

    or

    2. No One can Save the Human Race

    2 AnswersWords & Wordplay7 years ago
  • what is the role of the membrane in cell diffusion transport?

    what is the role of the membrane in cell diffusion transport?

    1 AnswerBiology7 years ago
  • Which sentence is correct?

    1. Then answer me this: How did she...?

    2. Then answer me this: how did she...?

    4 AnswersWords & Wordplay7 years ago
  • which way is the proper way?

    should it be:

    "And as I pointed out earlier," she said, pointing in his direction, "you all need to be respectful."

    or should it be:

    "And as I pointed out earlier," she said, pointing in his direction, "You all need to be respectful."

    5 AnswersWords & Wordplay7 years ago
  • is it normal to have a dream like this?

    lately ive been having some dreams about the people i care about dying, but last night it got really strange. so i was reading the book, walking through the woods, when suddenly i found a bridge that went over a dried up creek filled with dry leaves. on the other side were two deers. i walked away and told my grandma and my sister. my grandma told me i shouldnt invade on the deer's privacy. i ignored her and went back to where the deers were, but they were gone. i crossed the bridge and looked around. i suddenly came face to face with these monsters that looked like humanoid flies. they were in the shape of a human but had no human body parts; they had fly parts. they were also wearing black cloaks so only their gross heads and six arms and small wings showed. i panicked and ran home. when i got home my mom was about to go bankrupt because of my aunt. my aunt was trying to trick my mom. i tried to tell my mom this but she wouldnt believe me. then i remembered the deers and told her that i saw a sign from God that my aunt was tricking her. she immediately started to believe me and she kept asking me what she should do. she said she couldnt go to the bank because it was too obvious. suddenly everything was in my hands. i grew afraid but after a while my mom phoned this girl. the girl arrived shortly afterwards and she was helping us so my mom wouldnt give the money to my aunt. we talked for a while and then the girl left. suddenly the flies in cloaks appeared with wooden stakes in their hands. my dad ran into the room and said that the girl who helped us got into a car crash and died. i immediately knew that it was my aunt who killed the girl. i was really scared. the flies suddenly came at us and stabbed my parents with stakes. i woke up just as a stake was about to plunge into my heart.

    ive also had dreams such as where im killing my sister ((ive had two dreams where i choked here and i felt extreme anger when doing so; such anger that it felt like i would gladly tear anyone no matter who into shreds)) and ive also had dreams where people that i dont even know have fallen off of buildings.

    im also 14 yrs old if age has anything to do with this

    strange or common??

    2 AnswersPsychology8 years ago