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

KnightHunter200

Favorite Answers8%
Answers108
  • Dreamworks Turbo is a ripoff of Cars and Ratatouille?

    Ratatouille: A quirky, unlikely rat idolizes a chef, often hanging out at his restaurant, so he tries his best to be like him and discovers he has what it takes.

    Turbo: A quirky, unlikely snail idolizes an F1 racer, often hanging out at the speedway, so he tries his best to be like him, and through a freak accident, discovers he has what it takes.

    Even that dream speech is similar in both movies. Both idolize someone on TV

    Ratatouille: His best friend didn't believe his dream and wanted him to stay as a rat then a chef. Same in Turbo: Chet wanted to live out the same routine as snail. But in the end they realize their dream and supported them.

    Turbo ends up in the middle of nowhere similarly to Lightning McQueen. ( Stairway Plaza =Ratiatior Springs) They meet a group of people who lost hope. In the end, they will the race and now their little area is popular and no longer off the map.

    2 AnswersComics & Animation8 years ago
  • What does 13:37 mean? Bakuman Season 3?

    When Iwase was looking at her clock. It says 13;37. is it referring to something? On tumblr people know what it means.

    1 AnswerComics & Animation8 years ago
  • Help on a math problem!!!!?

    1) Suppose the number of accidents that occur on a certain stretch of highway averages 5 per week. Assume the incidence of accidents follows a Poisson process. Find the following probabilities:

    a) There is just one accident on this stretch of highway next week.

    b) There are at most 3 accidents on this stretch of highway next week.

    c) There are more than 6 accidents on this stretch of highway next week.

    2) In a financial service company, the computer system fails an average 2.4 times per month. Assume the incidence of system failures follows a Poisson process. Solve the following to six decimal places.

    a) Find the probability that the computer system fails exactly 3 times next month.

    b) Find the probability that the computer system fails at most two times next month.

    c) Assume the computer system has just been restored to operating condition following system failure. Find the probability that the system experiences no failures in the coming month, in other words, it will be more than one month until the next failure of the computer system.

    3) Suppose that a certain high school on Long Island, it is known that 30% of students have a part-time job. If 15 students are selected at random and questioned whether they have a part-time job, find the following:

    a) Probability that exactly 5 of the students question have a part-time job.

    b) Probability that 3 or fewer of the students questioned have a part-time job.

    c) Probability that more than 10 of the students questioned have a part-time job

    d) Probability that the 8th student questioned is the 3rd to have a part-time job.

    4) Assume that a small college has two thousand students, of whom 300 are planning to transfer out next semester. A consultant hired by the college conducts a survey of 25 randomly selected students; the survey consists of a detailed interview to determine their degree of satisfaction with their college experience.

    a) Find the probability that, in the consultant’s random survey, 3 students will be found who plan to transfer out next semester. Draw an appropriate diagram as part of the solution to this problem. Find a numerical solution to five decimal places.

    b) What is the probability that consultant’s survey does not include any of the students who plan to transfer out next semester? Find a numerical solution to five decimal places. ( Another diagram is not needed)

    3 AnswersMathematics9 years ago
  • What am I doing wrong on this Java Program. Please fix?

    Am I doing something wrong here on this Java program.?

    Can you fix this java program on Super Class?

    Write an abstract super class encapsulating a vacation: A vacation has two attributes: a budget and a destination. It has an abstract method returning how much the vacation is over or under budget. This class has two non-abstract subclasses: one encapsulating an all-inclusive vacation, and the other encapsulating a vacation bought piece-meal. An all-inclusive vacation has three additional attributes: a brand (for instance ClubMed); a rating, expressed as a number of stars; and a price. A piecemeal vacation has two additional attributes: a set of items (hotel, meal, airfare), and a set of corresponding costs. You also need to include a client class to test these two classes using either an ArrayList or an array of objects to populate the array, print the state of each element and the total costs for all vacations. Also include and test an abstract calculate cost method that returns the total cost of each vacation

    I am using Java Unlimited Version 3

    import java.text.DecimalFormat;

    public class Vacation

    }

    private int budget;

    private String destination;

    }

    class PiecemealVacation extends Vacation

    {

    }

    abstract class Vacation

    {

    private int budget;

    private String destination;

    abstract double amountOverBudget();

    }

    class PiecemealVacation extends Vacation

    {

    private ArrayList<string> items;

    private ArrayList<double> costs;

    public double amountOverBudget() {

    double sumCost = 0.0;

    for( Iterator i = arrayList.iterator(); i.hasNext(); )

    {

    sumCost += i.next();

    }

    return sumCost - budget;

    }

    }

    class InclusiveVacation extends Vacation

    {

    private string brand;

    private uint rating;

    private double price;

    public double amountOverBudget() {

    return price - budget;

    }

    }

    2 AnswersProgramming & Design9 years ago
  • Am I doing ths right with this program?

    Write an abstract super class encapsulating a vacation: A vacation has two attributes: a budget and a destination. It has an abstract method returning how much the vacation is over or under budget. This class has two non-abstract subclasses: one encapsulating an all-inclusive vacation, and the other encapsulating a vacation bought piece-meal. An all-inclusive vacation has three additional attributes: a brand (for instance ClubMed); a rating, expressed as a number of stars; and a price. A piecemeal vacation has two additional attributes: a set of items (hotel, meal, airfare), and a set of corresponding costs. You also need to include a client class to test these two classes using either an ArrayList or an array of objects to populate the array, print the state of each element and the total costs for all vacations. Also include and test an abstract calculate cost method that returns the total cost of each vacation

    I am using Java Unlimited Version 3

    import java.text.DecimalFormat;

    public class Vacation

    {

    private int budget;

    private String destination;

    }

    class PiecemealVacation extends Vacation

    {

    }

    public Vacation()

    {

    balance 0.0

    }

    public Vacation( double startBalance )

    {

    deposit( startBalance );

    }

    public void deposit( double amount )

    {

    if ( amount >= 0.0 )

    balance += amount;

    else

    System.err.println( "Deposit amount must be positive." );

    }

    public void withdraw( double amount )

    {

    if ( amount >= 0.0 && amount <= balance )

    balance -= amount;

    else

    System.err.println( "Withdrawal amount must be positive "

    + "and cannot be greater than balance" );

    }

    public String toString( )

    {

    return ( "balance is " + MONEY.format( balance ) );

    }

    }

    1 AnswerProgramming & Design9 years ago
  • How does a Super class work in Java?

    I need help on a Super class program on Java.?

    Write an abstract super class encapsulating a vacation: A vacation has two attributes: a budget and a destination. It has an abstract method returning how much the vacation is over or under budget. This class has two non-abstract subclasses: one encapsulating an all-inclusive vacation, and the other encapsulating a vacation bought piece-meal. An all-inclusive vacation has three additional attributes: a brand (for instance ClubMed); a rating, expressed as a number of stars; and a price. A piecemeal vacation has two additional attributes: a set of items (hotel, meal, airfare), and a set of corresponding costs. You also need to include a client class to test these two classes using either an ArrayList or an array of objects to populate the array, print the state of each element and the total costs for all vacations. Also include and test an abstract calculate cost method that returns the total cost of each vacation

    I am using Java Unlimited Version 3

    import java.util.Scanner;

    import java.text.NumberFormat;

    import java.util.ArrayList;

    public class Vacation

    {

    public static void main (String [] args)

    private int budget;

    private String destination;

    }

    class PiecemealVacation extends Vacation

    {

    }

    1 AnswerProgramming & Design9 years ago
  • How do I start this program?

    A Super Class Program?

    How do I use a Super Class with this program?

    Write an abstract super class encapsulating a vacation: A vacation has two attributes: a budget and a destination. It has an abstract method returning how much the vacation is over or under budget. This class has two non-abstract subclasses: one encapsulating an all-inclusive vacation, and the other encapsulating a vacation bought piece-meal. An all-inclusive vacation has three additional attributes: a brand (for instance ClubMed); a rating, expressed as a number of stars; and a price. A piecemeal vacation has two additional attributes: a set of items (hotel, meal, airfare), and a set of corresponding costs. You also need to include a client class to test these two classes using either an ArrayList or an array of objects to populate the array, print the state of each element and the total costs for all vacations. Also include and test an abstract calculate cost method that returns the total cost of each vacation

    I am using Java Unlimited Version 3

    1 AnswerSoftware9 years ago
  • A Super Class Program?

    How do I use a Super Class with this program?

    Write an abstract super class encapsulating a vacation: A vacation has two attributes: a budget and a destination. It has an abstract method returning how much the vacation is over or under budget. This class has two non-abstract subclasses: one encapsulating an all-inclusive vacation, and the other encapsulating a vacation bought piece-meal. An all-inclusive vacation has three additional attributes: a brand (for instance ClubMed); a rating, expressed as a number of stars; and a price. A piecemeal vacation has two additional attributes: a set of items (hotel, meal, airfare), and a set of corresponding costs. You also need to include a client class to test these two classes using either an ArrayList or an array of objects to populate the array, print the state of each element and the total costs for all vacations. Also include and test an abstract calculate cost method that returns the total cost of each vacation

    I am using Java Unlimited Version 3

    1 AnswerProgramming & Design9 years ago
  • What is wrong with this program?

    I can't figure out the Output for my Java Program. My Output resuts are 0 and not what is specifed?? Help???

    Write a program that stores the weekly (Monday thru Friday) sales totals for three salespersons. Your program should allow the user to enter the sales amounts and print a sales report with headings, the daily totals for each salesperson (your two-dimensional array), the calculated weekly totals for each sales person and the calculated totals for the day of each salesperson. In addition, create a single-dimensional array of Strings representing the days of the week (Monday-Friday) using an initializer list. Your program output should look like the following:

    Input Screen

    Enter Monday Totals for Salesperson 1: 10.00

    Enter Tuesday Totals for Salesperson 1: 20.00

    Enter Wednesday Totals for Salesperson 1: 30.00

    (etc.)

    Enter Monday Totals for Salesperson 2: 60.00

    (etc.)

    Output Screen

    Weekly Sales Report

    Mon Tue Wed Thurs Fri Total

    1 10.00 20.00 30.00 40.00 50.00 150.0…

    2 60.00 70.00 80.00 90.00 10.00 310.0…

    3 20.00 30.00 40.00 50.00 60.00 200.0…

    -------------------------------------…

    90.00 120.00 150.00 180.00 120.00 660.00

    Using Java Unlimited version 3

    import java.util.Scanner;

    import java.text.NumberFormat;

    public class Sales

    {

    public static void main (String [] args)

    {

    //Array of 3 sales people for 5 days each

    int[][] a= new int[3][5];

    //Array of days

    String[] days = { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" };

    //Scanner for input

    Scanner scan = new Scanner(System.in);

    //Loop through each salesperson

    for ( int i = 0; i < a.length; i++ )

    {

    int s=0;

    //Loop through each day

    for (int j = 0; j < days.length; j++)

    {

    s+=a[i][j];

    //Prompt for salesperson sales for specified day

    System.out.print("Enter " + days[j] + "'s Totals for Salesperson " + (i+1) + ": ");

    //Get input

    int sales = scan.nextInt();

    //Assign in the array

    a[i][j] = sales;

    }

    System.out.println("Sales person"+(i+1)+"Sales="+s);

    }

    }

    }

    1 AnswerProgramming & Design9 years ago
  • I can't figure out the Output for my Java Program?

    How do I begin this Java program?

    How do i start Two Dimensional Arrays?

    Write a program that stores the weekly (Monday thru Friday) sales totals for three salespersons. Your program should allow the user to enter the sales amounts and print a sales report with headings, the daily totals for each salesperson (your two-dimensional array), the calculated weekly totals for each sales person and the calculated totals for the day of each salesperson. In addition, create a single-dimensional array of Strings representing the days of the week (Monday-Friday) using an initializer list. Your program output should look like the following:

    Input Screen

    Enter Monday Totals for Salesperson 1: 10.00

    Enter Tuesday Totals for Salesperson 1: 20.00

    Enter Wednesday Totals for Salesperson 1: 30.00

    (etc.)

    Enter Monday Totals for Salesperson 2: 60.00

    (etc.)

    Output Screen

    Weekly Sales Report

    Mon Tue Wed Thurs Fri Total

    1 10.00 20.00 30.00 40.00 50.00 150.0…

    2 60.00 70.00 80.00 90.00 10.00 310.0…

    3 20.00 30.00 40.00 50.00 60.00 200.0…

    -------------------------------------…

    90.00 120.00 150.00 180.00 120.00 660.00

    Using Java Unlimited version 3

    import java.util.Scanner;

    import java.text.NumberFormat;

    public class Sales

    {

    public static void main (String [] args)

    {

    //Array of 3 sales people for 5 days each

    int[][] a= new int[3][5];

    //Array of days

    String[] days = { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" };

    //Scanner for input

    Scanner scan = new Scanner(System.in);

    //Loop through each salesperson

    for ( int i = 0; i < a.length; i++ )

    {

    //Loop through each day

    for (int j = 0; j < days.length; j++)

    {

    //Prompt for salesperson sales for specified day

    System.out.print("Enter " + days[j] + "'s Totals for Salesperson " + (i+1) + ": ");

    //Get input

    int sales = scan.nextInt();

    //Assign in the array

    a[i][j] = sales;

    }

    }

    //Output

    }

    1 AnswerProgramming & Design9 years ago
  • Is this the correct way of doing this Java program?

    Am I doing this right on my Java Program?? If so please fix?

    How do i start Two Dimensional Arrays?

    Write a program that stores the weekly (Monday thru Friday) sales totals for three salespersons. Your program should allow the user to enter the sales amounts and print a sales report with headings, the daily totals for each salesperson (your two-dimensional array), the calculated weekly totals for each sales person and the calculated totals for the day of each salesperson. In addition, create a single-dimensional array of Strings representing the days of the week (Monday-Friday) using an initializer list. Your program output should look like the following:

    Input Screen

    Enter Monday Totals for Salesperson 1: 10.00

    Enter Tuesday Totals for Salesperson 1: 20.00

    Enter Wednesday Totals for Salesperson 1: 30.00

    (etc.)

    Enter Monday Totals for Salesperson 2: 60.00

    (etc.)

    Output Screen

    Weekly Sales Report

    Mon Tue Wed Thurs Fri Total

    1 10.00 20.00 30.00 40.00 50.00 150.0…

    2 60.00 70.00 80.00 90.00 10.00 310.0…

    3 20.00 30.00 40.00 50.00 60.00 200.0…

    -------------------------------------…

    90.00 120.00 150.00 180.00 120.00 660.00

    I am using Java Unlimited Version 3

    import java.util.Scanner;

    import java.text.NumberFormat;

    public class Sales

    {

    public static void main (String [] args)

    {

    int i [];

    int[][] a

    String[] days = ( " Monday", "Tuesday"."Wednesday", "Thursday","Friday" );

    a= new double[5][5]

    Scanner scan = new Scanner( system in);

    for ( i = 0, i < a.length i++ )

    {

    for ( i = 0, j < a[0].length j++)

    {

    System.out.print( " Enter Monday's Totals for Sales" )

    +( i = 1) + "\t")

    a[i][j] = scan smaller

    }

    1 AnswerProgramming & Design9 years ago
  • How do I solve this Linear Combinations and Vectors?

    I need help on Linear Combinations?

    Prove or Disprove

    1) [1,2,3] is a linear combination of [1,0,1],[-1,1,1] ,[0,0,1]

    2) Let V = {(x,y) l y = x + 1, x E R}. W is a subspace of R^2.

    1 AnswerMathematics9 years ago
  • How do I begin this Java program?

    How do i start Two Dimensional Arrays?

    Write a program that stores the weekly (Monday thru Friday) sales totals for three salespersons. Your program should allow the user to enter the sales amounts and print a sales report with headings, the daily totals for each salesperson (your two-dimensional array), the calculated weekly totals for each sales person and the calculated totals for the day of each salesperson. In addition, create a single-dimensional array of Strings representing the days of the week (Monday-Friday) using an initializer list. Your program output should look like the following:

    Input Screen

    Enter Monday Totals for Salesperson 1: 10.00

    Enter Tuesday Totals for Salesperson 1: 20.00

    Enter Wednesday Totals for Salesperson 1: 30.00

    (etc.)

    Enter Monday Totals for Salesperson 2: 60.00

    (etc.)

    Output Screen

    Weekly Sales Report

    Mon Tue Wed Thurs Fri Total

    1 10.00 20.00 30.00 40.00 50.00 150.0…

    2 60.00 70.00 80.00 90.00 10.00 310.0…

    3 20.00 30.00 40.00 50.00 60.00 200.0…

    -------------------------------------…

    90.00 120.00 150.00 180.00 120.00 660.00

    1 AnswerSecurity9 years ago
  • A program using two dimensional arrays?

    What are Two dimensional Arrays?

    Write a program that stores the weekly (Monday thru Friday) sales totals for three salespersons. Your program should allow the user to enter the sales amounts and print a sales report with headings, the daily totals for each salesperson (your two-dimensional array), the calculated weekly totals for each sales person and the calculated totals for the day of each salesperson. In addition, create a single-dimensional array of Strings representing the days of the week (Monday-Friday) using an initializer list. Your program output should look like the following:

    Input Screen

    Enter Monday Totals for Salesperson 1: 10.00

    Enter Tuesday Totals for Salesperson 1: 20.00

    Enter Wednesday Totals for Salesperson 1: 30.00

    (etc.)

    Enter Monday Totals for Salesperson 2: 60.00

    (etc.)

    Output Screen

    Weekly Sales Report

    Mon Tue Wed Thurs Fri Total

    1 10.00 20.00 30.00 40.00 50.00 150.0…

    2 60.00 70.00 80.00 90.00 10.00 310.0…

    3 20.00 30.00 40.00 50.00 60.00 200.0…

    -------------------------------------…

    90.00 120.00 150.00 180.00 120.00 660.00

    1 AnswerSoftware9 years ago
  • What are Two dimensional Arrays?

    Write a program that stores the weekly (Monday thru Friday) sales totals for three salespersons. Your program should allow the user to enter the sales amounts and print a sales report with headings, the daily totals for each salesperson (your two-dimensional array), the calculated weekly totals for each sales person and the calculated totals for the day of each salesperson. In addition, create a single-dimensional array of Strings representing the days of the week (Monday-Friday) using an initializer list. Your program output should look like the following:

    Input Screen

    Enter Monday Totals for Salesperson 1: 10.00

    Enter Tuesday Totals for Salesperson 1: 20.00

    Enter Wednesday Totals for Salesperson 1: 30.00

    (etc.)

    Enter Monday Totals for Salesperson 2: 60.00

    (etc.)

    Output Screen

    Weekly Sales Report

    Mon Tue Wed Thurs Fri Total

    1 10.00 20.00 30.00 40.00 50.00 150.00

    2 60.00 70.00 80.00 90.00 10.00 310.00

    3 20.00 30.00 40.00 50.00 60.00 200.00

    --------------------------------------------------------------

    90.00 120.00 150.00 180.00 120.00 660.00

    2 AnswersProgramming & Design9 years ago
  • How do I solve this Java Program?

    What is an Array and how does it work?

    An Array Program with a Client?

    Arrays with this Program?

    How do you do arrays in this Java Program?

    Write a class encapsulating the concept of converting integer grades to letter grades (A , B, C, D, or F), assuming grades are composed of a list of integers between 0 and 100.

    Write the following methods:

    • A constructor with just one parameter, the number of student; all grades can be randomly generated.

    • Accessor, mutator, toString(), and equals() methods.

    • A methods returning an array of chars corresponding to the integer grades (90 or above should be converted to A, 80 or above to B, 70 or above to C, 60 or above to D, and 59 or less to F).

    • A method returning the number of A’s.

    • A method returning an array of ints counting how many A’s, B’s, C’s, D’s, and F’s were received.

    Write a client class to test all the methods in your class.

    I am using Java Unlimited 3

    3 AnswersProgramming & Design9 years ago
  • How to start this Array program on Java?

    How do i start this program using an Array?

    What is an Array and how does it work?

    An Array Program with a Client?

    Arrays with this Program?

    How do you do arrays in this Java Program?

    Write a class encapsulating the concept of converting integer grades to letter grades (A , B, C, D, or F), assuming grades are composed of a list of integers between 0 and 100.

    Write the following methods:

    • A constructor with just one parameter, the number of student; all grades can be randomly generated.

    • Accessor, mutator, toString(), and equals() methods.

    • A methods returning an array of chars corresponding to the integer grades (90 or above should be converted to A, 80 or above to B, 70 or above to C, 60 or above to D, and 59 or less to F).

    • A method returning the number of A’s.

    • A method returning an array of ints counting how many A’s, B’s, C’s, D’s, and F’s were received.

    Write a client class to test all the methods in your class.

    2 AnswersComputer Networking9 years ago
  • A program with an array and a client?

    Arrays with this Program?

    How do you do arrays in this Java Program?

    Write a class encapsulating the concept of converting integer grades to letter grades (A , B, C, D, or F), assuming grades are composed of a list of integers between 0 and 100.

    Write the following methods:

    • A constructor with just one parameter, the number of student; all grades can be randomly generated.

    • Accessor, mutator, toString(), and equals() methods.

    • A methods returning an array of chars corresponding to the integer grades (90 or above should be converted to A, 80 or above to B, 70 or above to C, 60 or above to D, and 59 or less to F).

    • A method returning the number of A’s.

    • A method returning an array of ints counting how many A’s, B’s, C’s, D’s, and F’s were received.

    Write a client class to test all the methods in your class.

    I am using Java Unlimited 3

    1 AnswerComputer Networking9 years ago
  • Arrays with this Program?

    How do you do arrays in this Java Program?

    Write a class encapsulating the concept of converting integer grades to letter grades (A , B, C, D, or F), assuming grades are composed of a list of integers between 0 and 100.

    Write the following methods:

    • A constructor with just one parameter, the number of student; all grades can be randomly generated.

    • Accessor, mutator, toString(), and equals() methods.

    • A methods returning an array of chars corresponding to the integer grades (90 or above should be converted to A, 80 or above to B, 70 or above to C, 60 or above to D, and 59 or less to F).

    • A method returning the number of A’s.

    • A method returning an array of ints counting how many A’s, B’s, C’s, D’s, and F’s were received.

    Write a client class to test all the methods in your class.

    I am using Java Unlimited 3

    1 AnswerProgramming & Design9 years ago