Okay, I discovered that the issue is with the following:
we are asked to use the following code to generate a unique customerID number.
long customerID =...
Type: Posts; User: sternfox
Okay, I discovered that the issue is with the following:
we are asked to use the following code to generate a unique customerID number.
long customerID =...
Here posting the entire process:
*** ***
*** Welcome to Cash for Metals Calculator!!! ***
*** ***
1. Create Personal Customer
2. Create Commercial Customer
3. Record...
So the following is correct because account 123 does not exist.
*** ***
*** Welcome to Cash for Metals Calculator!!! ***
*** ***
1. Create Personal Customer
2. Create...
ok if I remove the if (trans != null) error
public static Transaction recordTransaction(){
System.out.println("Enter the customer ID to create the transaction > ");
...
The problem that i am trying to solve in this situation is the following:
the customer id is entered, and if the customer id is not matched in the array, the error read out in case 3 is generated...
This is the part that is tripping me up. In addition I have the following helper method. Could I use it in this situation?
// Helper method to determine if a customer exists
public static...
I was given the following code by my prof.
public static void main(String[] args) {
Customer customer;
Transaction transaction;
double withdrawalAmount...
I am trying to understand the out come of the following problem:
public class Whatever {
public static void main(String[] args) {
for(int i = 1; i < 5; i++) {
...
This is a homework assignment and I am stuck and I have researched every book I know that talks about loops.
I am required to print the loop at every 25th loop up to 500, i.e. 1-25th, 26-75th,...
Thank you and everyone else for all of your helpful suggestions and comments.
First of all, yes this is homework and I already solved the problem, which required the programmer to write a program to determine if the digits in a three-digit number supplied by a user are all...