nope still not working and still unsure of what i have done to cause this lol. i guess this happends when you are new to this type of thing. anyone else see whats happening? look at previous post...
Type: Posts; User: wiz12
nope still not working and still unsure of what i have done to cause this lol. i guess this happends when you are new to this type of thing. anyone else see whats happening? look at previous post...
package salesperson;
import java.util.Scanner;
public class Salesperson {
public static void main(String[] args)
{
final double salary = 40000.00;
final double...
This is where im having an issue with it just looping the error message at the bottom in the code
while (addperson == true){
double total = 0;
int currentNumber;
...
oh ok ill try to clean up the code {}'s to make it easer to read. what is -xlint and i think one problem is that it keeps looping anyidea how to stop it from looping back to the Error message i have...
Norm I think i get what you are saying about javac commands but that is not the problem since im Using NetBeans Program to build the code and also to run the code therefor no need for command prompt...
this is what it looks like when i run it
===================================
run:
Calculate your commission and total pay
Enter name:
mike
Enter amount of sales: 12
ERROR: only enter...
No, no error message just to one i made up in the code. Thats the error message i can not get past i think i have it looped wrong. thats all the code i got :) im also running the program on NetBeans...
Im currently in a JAVA class in college and we had to build a program that calculated commission. i think im in the ball park here with my code but when i run it i cant get past the second question....