Here you go:
/**
* The program provides the user with the prices for a courrier service.
*/
import java.util.*;
public class CourierService {
Type: Posts; User: Henk
Here you go:
/**
* The program provides the user with the prices for a courrier service.
*/
import java.util.*;
public class CourierService {
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...
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...
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...
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...
Works now, thanks a lot. I just started learning Java, have to work on the brackets.
I wrote the code below for my homework. It should ask the user to calculate two things and it should stop when null is entered. It works, except from one thing and that is that it should show the...