Hi sorry I should clarify. I need the program to calculate the average only when at least one number is entered and shows “goodbye” if no numbers are entered (the user enters a negative number for...
Type: Posts; User: pslick29
Hi sorry I should clarify. I need the program to calculate the average only when at least one number is entered and shows “goodbye” if no numbers are entered (the user enters a negative number for...
Hi I was wondering if someone could tell me how to get my program to System.out.println ('"Goodbye") if a negative number is entered. It does everything perfectly for the average but when the user...