Search:

Type: Posts; User: Henk

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    1,109

    Re: How to change my code?

    Here you go:



    /**
    * The program provides the user with the prices for a courrier service.
    */

    import java.util.*;
    public class CourierService {
  2. Replies
    8
    Views
    1,109

    Re: How to change my code?

    Got it working now, but one more question. I want it to first ask for the prices and then for the location and destination. How can I get it working like that?
    Here is my code:

    import...
  3. Replies
    8
    Views
    1,109

    Re: How to change my code?

    I really appreciate the help, but I still don't get it. I'm a very beginner in Java, sorry. I thought I have to change the int's after new in Array, but then it tells me: cannot find symbol - class...
  4. Replies
    8
    Views
    1,109

    Re: How to change my code?

    Then I thought I could use this:

    {

    int [] [] myNumbers = {
    {new int[5]}, {new int[5]}, {new int[5]}, {new int[5]}, {new int[5]}
    };

    Scanner sc = new Scanner(System.in);
    for (int...
  5. Replies
    8
    Views
    1,109

    How to change my code?

    This is the question I was trying to answer:
    Courier service. You have a courier service where the different routes are fixed. Create an
    application (for example using array) where you can include...
Results 1 to 5 of 5