Programming

Programming questions? Ask a programmer for answers ASAP

Connect one-on-one with {0} who will answer your question

Related Programming Questions
I need help with some Java coding class assignment. I have a
I need help with some Java coding for a class assignment. I have a good portion written and have just been stuck on the 2D array and building the JTable.The company has recently changed its total annu… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
8,603 satisfied customers
Having a lot of trouble with the week 4 assignment. Modify
Having a lot of trouble with the week 4 assignment. Modify the Week Three Java application using NetBeans IDE to meet these additional and changed business requirements: •The application will now comp… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
8,603 satisfied customers
Hello, Im in this class currently and Im having a huge amo
Hello, I'm in this class currently and I'm having a huge amount of difficulty with this project. Our instructor says to ask google for assistance. I don't even know where to begin with these. Thanks f… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
9,151 satisfied customers
I can't get this program to work. // * PRG/420 /* @author
// * PRG/420 /* @author Jeneen */ package yearlycomp2;import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Scanner;public class YearlyComp2 { //main() method public static void main(String[] args){ SalesAgent2 salesobject = new SalesAgent2(); salesobject.pleasewait(); SalesAgent2 money = new SalesAgent2(); money.newSalary(); } } //Second Class /** * * @author Jeneen */ public class SalesAgent2 {//Variables double fixedCompensation = 50000; //Sets a fixed Salary double newSalary; //The total of the salesman salary and compensation double salesTarget = 120000; //Sets the sales target double salesIncentive = 0.80 * salesTarget; //Calculates 80% of Sales target for incentive double commissionRate = .15; //Sets the commission rate to 15% double accelerationFactor = .1875; //Sets the acceleration factor to 1.25 of 15% double salesOverTarget; //Calculates sales over the target for the accleration factor double acceleratedCommission; //Total of the accelerated commission double baseCommission; //Total of base commission double salesAmount; //Sales Amount Variable for table double maxSales = 1.50 * salesAmount; //Max Sales for table displaypublic void salesperson(){ Scanner input = new Scanner(System.in); do { //Ask user to enter annual sales amount System.out.print("Please enter your annual sales: "); while (!input.hasNextDouble()){ //Only numeric characters entered System.out.println("Only enter numeric values."); input.next(); } salesAmount = input.nextDouble(); } while (salesAmount <= 0); } public void totalCompensationCalculation(){ if (salesAmount >= salesIncentive && salesAmount <= salesTarget){ baseCommission = salesAmount * commissionRate; newSalary = baseCommission + fixedCompensation; } else if (salesAmount >= salesTarget){ salesOverTarget = salesAmount - salesTarget; acceleratedCommission = salesOverTarget * accelerationFactor; baseCommission = salesTarget * commissionRate; newSalary = fixedCompensation + acceleratedCommission + baseCommission; } else { commissionRate = 0; newSalary = 0; } } public void displayTable() { NumberFormat numberFormat = NumberFormat.getCurrencyInstance(); System.out.println("Total compensation: " + numberFormat.format(newSalary)); //Display Table System.out.println("Annual Sales: \tTotal Compensation:"); while (salesAmount <= maxSales) { System.out.println(numberFormat.format(salesAmount) + "\t" + "\t" + numberFormat.format(newSalary)); salesAmount = salesAmount + 5000; } }void newSalary() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. }void pleasewait() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } … read more
Ingo U
Ingo U
Master's Degree
509 satisfied customers
How do I get to calculates the total annual compensation of
How do I get to calculates the total annual compensation of the salesperson … read more
George Sibiya
George Sibiya
PhD
372 satisfied customers
I need to add a function in my existing application that
I need to add a function in my existing application that will compare the different input … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
8,603 satisfied customers
I cannot get my code to compile when I create my table in
I cannot get my code to compile when I create my table in NetBeans … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
8,603 satisfied customers
I need help with my Homework. I am very bad at understanding
I need help with my Homework. I am very bad at understanding Java. I have kinda written the first half of the assignment and will submit the class files. I need to use the fist half to complete the 2n… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
8,603 satisfied customers
I have almost completed the code, I just need help with the
I have almost completed the code, I just need help with the last part of the code that shows a possible table with compensations. In the last part of the code I have a static return value, what i need… read more
jatechexpert
jatechexpert
Master's Degree
1,337 satisfied customers
A salesperson will continue to earn a fixed salary of $50,000.
A salesperson will continue to earn a fixed salary of $50,000. The current sales target for every salesperson is $80,000. · The sales incentive will only start when 80% of the sales target is met. The… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
9,151 satisfied customers
Modify the Week Two Java application using Java Netbeans IDE
Modify the Week Two Java application using Java Netbeans IDE to meet these additional and changed business requirements: The company has recently changed its total annual compensation policy to improv… read more
jatechexpert
jatechexpert
Master's Degree
1,337 satisfied customers
I need help ASAP with my week 4 assignment in Java.
I need help ASAP with my week 4 assignment in Java. It involved an ArrayList The requirements are: Modify the Week Three Java™ application using Java™ NetBeans™ IDE to meet these additional and change… read more
Raj
Raj
SAP ABAP Consultant
Master's Degree
925 satisfied customers
PART 1 Write a Java™ application using NetBeans™ Integrated
PART 1 Write a Java™ application using NetBeans™ Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors: A salesperson … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
8,603 satisfied customers
For ATLProg Only Modify the Week Two Java™ application using
For ATLProg Only Modify the Week Two Java™ application using Java™ NetBeans™ IDE to meet these additional and changed business requirements: • The company has recently changed its total annual compens… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
9,151 satisfied customers
I have question. I have to Modify a Java application using
I have question. I have to Modify a Java application using Java NetBeans IDE to meet additional and changed business requirements: -The company has recently changed its total annual compensation polic… read more
Raj
Raj
SAP ABAP Consultant
Master's Degree
925 satisfied customers
If youre still available, I have to modify that program to
If you're still available, I have to modify that program to meet a new set of parameters for next week, if you could tell me how to code it or provide the code but let me add it to the program so I ca… read more
Raj
Raj
SAP ABAP Consultant
Master's Degree
925 satisfied customers
I have my first Java programming class and I am not a programmer.
I have my first Java programming class and I am not a programmer. I need someone that could write this for me because I just don't understand it. There are two parts or two seperate programs but the s… read more
jatechexpert
jatechexpert
Master's Degree
1,337 satisfied customers
can I get the Simple Commission Calculation Program Part 2,
can I get the Simple Commission Calculation Program Part 2, please let me know my email [email protected] thanks… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
9,151 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Computer Software Engineer

8,603 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

The-PC-Guy

The-PC-Guy

Software Engineer

930 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

Rafael Martins

Rafael Martins

Computer Software Engineer

449 satisfied customers

Desktop, Mobile and Web Developer. 10+ years of experience. Creative solutions provider.

Ramesh Patil

Ramesh Patil

Computer Software Engineer

406 satisfied customers

MCA, 3+ years of experience in Asp.Net, C#, SSIS, VB.Net, Ms-SqlServer2005, MySql, Javascript,

Arty

Arty

Computer Software Engineer

377 satisfied customers

15+ years of programming, C, C++, Java, PHP, awk, ruby, shell, ASM, Forth, Raptor, M.A.R.I.E, Excel

< Previous | Next >

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x