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.
uvgtmeppnchmpyn
*i'm a nice guy but i have my moods *literally listen to everything but jazz,blues,country, african tribal music, and music in languages other than English, Spanish, Japanese *don't take anything i say personally
in java how do i make user input actually apply to making a choice, like choosing 'a' over 'b'?
i am new to programming and horrible at it.
i know how to use Scanner and everything i just don't know how to make user input apply to the program. i can ask them to enter 'A' or 'yes' but how do i take that and direct it to a certain method in java.
basically what would i put in the code after:
System.out.println ("please enter your choice")
a = scan.nextInt();
2 AnswersProgramming & Design9 years agohorrible at java programming, need help "invoking methods?"?
assume i'm an idiot b/c with programming i am.
okay so for my final i need to create a database that gives multiple options, choices, etc.
what i have problems with (besides everything) is getting information passed from one method to another and keeping the program going, if there are two methods it always stops at the end of the first one b/c i have no idea how to send the info (i.e. user input of the number '5') to the next method.
TO THE POINT: i was just hoping if someone could show me a very simple small example (it can be about apples and oranges/dogs and cats) of passing user input from one method to the next. i'm assuming passing the info will keep the program running.
my assign. says that each of my options (i.e. add, delete, edit, bla) will invoke a method.
P.S. i am using global static variables if that matters at all.
i'm also aware this may make no sense to anyone but me, but googling this is getting nowhere.
BQ: if i do get a program with multiple methods to run its complete course, how do i make it return to a certain method w/o undoing the info entered.
3 AnswersProgramming & Design9 years agowhat happened to the first group of people that arrived at the Roanoke Colony?
i know the colony failed, but what happened to them? did they die, go home, or just disappear as well? if you have a source please list it as i will also like to read it myself. also, don't bother giving me a link to wikipedia.
*i know the second group is famous for it's "mysterious" disappearance; i specifically want to know of the first one.
1 AnswerHistory10 years agoDuring the witch trials in Salem, MA, how did they select those they tried as witches?
please cite sources and don't bother saying "hope this helps" and give me a link to wikipedia. i already have info from the Smithsonian as well as National Geographic, so please don't bother with those.
thanks :)
7 AnswersHistory10 years agoWhen i set a pic as the theme on my xbox 360 there is this fade at the bottom...?
can i get rid of it, and how?
1 AnswerXbox10 years agowhat kind of movies are available for stream on Netfilx? (new or old)?
like if a movie is released on DVD is it available for stream the same day?
3 AnswersMovies10 years agoplan on buying an Xbox 360? how much hard drive and what do i need the space for?
i don't plan on downloading games, any extras for them, or anything like that. so what do i need the space for? is it just for saving games?
3 AnswersXbox10 years agowhat video game is this? i saw it on tv.?
i remember seeing a lot of red, i think there were two people and the red person was like a telekinetic and could move things...with the red energy...stuff. O.O
that may not be very helpful but it's all i can remember.
for reading and helping-please and thank you ^-^
3 AnswersVideo & Online Games10 years agowhat is the point of crying? does it help our bodies?
people cry when they're happy and sad, but does it serve any purpose? like adrenaline helps in bad situations, but does crying benefit us in anyway? other than relieve some stress every now and again?
1 AnswerOther - Health1 decade agowhat anime/manga is this picture from?
i really want to know. mainly cuz it looks cool :)
2 AnswersComics & Animation1 decade agowhat rhyme scheme is used in "She Walks in Beauty" by George Gorden, Lord Byron?
and also in"Sonnet 43" (How do i love thee? Let me count the ways...) by Elizabeth Barret Browning.
1 AnswerPoetry1 decade agoAssuming you had enough water, how long would it take to die of starvation?
also how does it happen (what order?) i assume that the organs don't fail all at once.
BQ: do punctuation marks like "?" and "!" go inside parentheses or outside? an example is in the above sentence.
2 AnswersOther - Health1 decade agoif everyone was "indie" then what would the indie kids do?
i see them indie hipster kids everywhere nowadays.
3 AnswersPolls & Surveys1 decade agoSo girls like dangerous guys?
i'm accident prone to the point where it endangers my life, does that count? :)
5 AnswersPolls & Surveys1 decade agoRecommend me some good movies? (DVD's)?
i'm sick and am making one trip to the store and to rent some DVD's for this weekend, so tell me what movies to get. i like all different kinds and favor creepy dark movies, i NEVER go to the movies between school and work either so recommend anything even if you think everyone's seen it.
9 AnswersPolls & Surveys1 decade agoRecommend me some good movies? (DVD)?
i'm sick and am making one trip to the store and to rent some DVD's for this weekend, so tell me what to get. i like all different kinds of movies and favor creepy dark movies, i NEVER go to the movies between school and work either so recommend anything even if you think everyone's seen it.
3 AnswersMovies1 decade agodoes a murderer deserve to die?
he's killed one person, so does he? how about a serial killer, who's killed 10, or how about a terrorist whose killed thousands? when do you think we are justified (if ever justified at all) in taking another's life. i don't mean like personally but legally through "the system."
11 AnswersLaw & Ethics1 decade agoCan you me any dark/creepy games? (online or videogames)?
NOT like multiplayer online just normal games you use to kill time. or video games i can buy.
games like this.http://www.youtube.com/watch?v=L8TNkeHk3Fo
4 AnswersVideo & Online Games1 decade agoCan someone give me some good, solid rock songs? (similar to these)?
i don't care if they're old so long as you think i'd like them. songs like:
Saints Of Los Angeles by Mötley Crüe
Getting Away With Murder by Papa Roach
What Have You Done Now by Within Temptation
Life Is Beautiful by Sixx: A.M.
Diary Of Jane by Breaking Benjamin
3 AnswersRock and Pop1 decade agowhy is there such a vast difference in detail between Japanese and American cartoons?
i know not all anime is like really detailed but the majority of it runs smoother than the cartoons from here (America.) i can't say i'm a super cartoon person but i've always wondered why.
3 AnswersComics & Animation1 decade ago