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 32,492 points

jason h

Favorite Answers18%
Answers245
  • Print an array results in undefined?

    function getGrades()

    {

    //21 names

    var students = new Array("Anderson", "Blackburne", "Brown", "Emrich", "Frost", "Garrison", "Harman", "Hill", "Horky",

    "House", "Jones", "Malone", "Menzel", "Price", "Riddle", "Rieck", "Smerling", "Tharp", "Thornton", "Ward", "Wright");

    var grades = new Array();

    for(var i=0; i <= students.length; i++)

    {

    grades[i] = prompt("Enter grade for " + students[i]);

    }

    for(var k=0; k <= students.length; k++)

    {

    document.write(students[i] + ": " + grades[i] + "</br>");

    }

    }

    1 AnswerProgramming & Design5 years ago
  • Need help bleeding a clutch?

    I bought a used 2002 Suzuki intruder from someone, it ran nicely until the next day the clutch would not disengage. I opened up the master cylinder, the fluids were low and it looked a bit rusty. So I cleaned it up and added some fluid , tried gravity bleeding from slave cylinder, fluid came out very slowly if at all. Then tried banjo bolt at master cylinder. No bubbles. Bought a bleeder pump and ran it several times through the nipple on slave cylinder, endless bubbles come out after even a dozen tries. Should I keep pumping? or do I need to replace the line? I cannot tell if there is a leak.

    4 AnswersMaintenance & Repairs5 years ago
  • Javascript and multiple onBlur's for one form?

    I have an html form with 5 elements, 3 of which I am trying to get an onBlur event to fire with different functions. If I use just 1 onblur on this form it will work, but adding more will not work. Any way around this?

    Here is my entire code http://pastebin.com/ccMc2dX7

    <form id = "contactForm">

    <div style = "margin-left:150px; width:600px">

    <fieldset><legend>Customer Information</legend>

    <p>First name:</br><input name="firstname" type= "text" size = "25" onBlur = "validFName()"/>

    </br></br>

    Last name:</br><input name="lastname" type= "text" size = "25" onBlur = "validLName()"/>

    </br></br>

    E-mail Address:</br><input name="email" type= "text" size = "25" />

    </br></br>

    Telephone Number:</br><input name="phone" type= "text" size = "25" onBlur = "validPhone()"/>

    </br></br>

    Comments:</br><textarea name = "other" rows= "10" cols="50"></textarea>

    </br></br>

    <input type = "submit" value = "Submit" />&nbsp<input type = "reset" value = "Clear form" /></p>

    </fieldset>

    </div>

    </form>

    1 AnswerProgramming & Design5 years ago
  • Need advice on leg workouts?

    So , I do not go to a gym or anything, my main workouts consist of pull-ups , push-ups, sit-ups, and free standing squats. I need to do something different for legs, the squats are getting old. Is it ok to use gym equipment and heavy weights for legs and just use my own body weight to workout my upper body? Will this put me out of balance?

    1 AnswerDiet & Fitness6 years ago
  • Potato piercing tool?

    Does it exist? I have been putting holes in my baked potato's with a fork, and it is getting old. I rather have some sort of device that can easily put a bunch of holes in them so I can bake them for less time.

    14 AnswersCooking & Recipes6 years ago
  • AT&T Iphone 5 different service?

    I purchased an iphone 5 when it came out and had service through at&t but now I owe them too much money and had to cancel my account. Can I switch to another service and use this phone?

    2 AnswersCell Phones & Plans6 years ago
  • Red heat lamp smoking?

    I bought a few near infrared red heat lamp bulb, I have 3 of them actually mounted in a piece of plywood for a sauna, 2 of them are different brand but all are same wattage 250w. The two that are different have smoke comming off the bulb and it smells weird. The other one has no problems. What gives?

    2 AnswersReptiles6 years ago
  • Should I just get a new vehicle?

    I have a 1996 4x4 ford explorer v6 4.0, interior looks great , engine is clean, runs good, but it has a few issues.

    AC is broke, it is probably a major issue. The front wheel bearings are shot. The truck was overheating and radiator was empty a few weeks ago, filled it up and has been fine since then, not sure whats going on there.

    Payed 1400 for the thing last year. Not sure its worth keeping and fixing, I could probably spend a few thousand atleast on another vehicle in the next couple months.

    3 AnswersMaintenance & Repairs6 years ago
  • Attachment image

    Java Swing timer help?

    This program is to make a timer that shows seconds elapsed, I have it working when I click start the timer sets off, but I cannot figure out how to make the stop and reset buttons to work.

    1 AnswerProgramming & Design6 years ago
  • Attachment image

    Java , Parse Double to user string input?

    As you can see there is an error on line 30. It says flip operands of '*' . Does not make much sense why it would say that , but I believe my problem is that I need to parse the user input to double so that I can return total to my main method. How can I do this?

    3 AnswersProgramming & Design6 years ago
  • Java , ArrayList comparison trouble?

    So I am trying to compare two arrays and add the matching numbers to a third array. I keep getting OutOfBoundsException, but the program so far seems to work like it should. I just need to make a decision structure to see how many matching numbers there are and tell if the user wins something for geussing all the right numbers.

    public ArrayList<Integer> compare(ArrayList<Integer> user) //user is an array being passed from main

    {

    ArrayList<Integer> match = new ArrayList<>();

    for(int i = 0; i < user.size(); i++)

    {

    for( int c = 0; c < lotteryNumbers.size(); c++)

    if(user.get(i)==lotteryNumbers.get(c))

    {

    match.add(lotteryNumbers.get(c));

    System.out.print(match.get(c) + ", ");

    }

    }

    // System.out.println(match);

    return match;

    }

    1 AnswerProgramming & Design6 years ago
  • Java ArrayList contains method , small problem?

    I am trying to prevent the user from entering a duplicate value for an arrayList , I think this is the correct way to do it. I believe its my if statement that does not work, I tried userNums.get(i).contains(userNums), but that will not work.

    int i = 0;

    while(i < 5)

    {

    System.out.println("\nEnter a number for the lottery, you may not enter a duplicate: ");

    userNums.add(kb.nextInt());

    if(!userNums.contains(userNums))

    {

    i++;

    }

    else{

    System.out.println("You entered a duplicate number try again: ");

    }

    }

    2 AnswersProgramming & Design6 years ago
  • Why would bananas cause night terrors?

    anytime I eat a banana late in the afternoon I have the most horrible nightmares ever, what in a banana could cause this?

    3 AnswersPsychology6 years ago
  • I cannot get this program to work in Freebasic?

    Dim As Integer height = 0

    Dim As Integer weight = 0

    Dim As Integer total = weight + height

    Input "How much do you weight? ", weight

    Input "How tall are you? ", height

    Print total

    Sleep 10000

    Pretty simple program, but I get "0" as a result everytime not matter what numbers I put in.

  • Formatting with exFat not working?

    I tried to format an external hard drive using the exFat option so I can use it on mac and pc. Problem is when i tried by right clicking the drive and selecting format then choosing exFat says "Windows was unable to complete the format"

    I then was actually able to format it through console commands, it completed and ask me to name it or something so I did. But I cannot use the hard drive it just says "You need to format the disk in drive E: before you can use it" ..... but I supposedly did format it , so how can I fix this?

    1 AnswerAdd-ons6 years ago
  • Help checking Linear equation?

    Ok I know how to find the solution to the problems but I cannot figure out how to check the work properly. Here they are....

    8(2 - t) = -5t

    16 - 8t = -5t

    +8t +8t

    16 = 3t

    = 16/3

    check:

    8(2 - 16/3) = -5(16/3)

    This is where I get stuck.... how do i distribute 8(16/3)

    my book shows ... 8(6/3 - 16/3) = - 80/3

    ^ i dont know how you get that 6/3

    heres another similar problem

    5(2x + 3) = -1 + 7

    10x + 15 = -1 + 7

    10x + 15 = 6

    - 15 -15

    10x = -9

    10x 10x

    check:

    5(2(-9/10) + 3) = -1 + 7

    not sure how to check these ....

    1 AnswerHomework Help8 years ago
  • How much should I sell my 3ds for?

    I have the original (black) Nintendo 3ds, with 5 games, Super Street fighter 4, Mario 3d land, Pilot wings, Zelda Ocarina of time, and Sonic Mega collection. I have installed some games from the Nintendo store on it, F-zero, metroid fusion, original metroid, super mario bros, Colors 3d, Yoshi's Island, FIre emblem, photo Dojo. It comes with a charger also.

    3 AnswersVideo & Online Games8 years ago
  • External hard drive not letting transfer large files?

    I have a hard drive that I pulled out of a laptop and using an external enclosure to use with usb. I can transfer files that are about 2.5 gb, but I have some that are almost 4gb that freeze up when transfering from my desktop hard drive to the external. I have tried formating the external with NTFS, and retrying, nothing really happens, it just gets further into the process and stops. Any suggestions?

    1 AnswerAdd-ons8 years ago
  • Do I need to add my previous job to my application?

    THe real question is.... I had this job for about 1 month and was terminated due to no call no show. Do I need to add this to my job applications? Will background checks show that I worked for that company?

    1 AnswerLaw & Legal8 years ago