How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask TheDoctor Your Own Question

TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1757
Experience:  M.S. in Internet Information Systems
Type Your Homework Question Here...
TheDoctor is online now
A new question is answered every 9 seconds

For TheDoctor, Hello again, I need you to make two different

Resolved Question:

For TheDoctor, Hello again, I need you to make two different java programs for this assignment. I will pay you extra. Your consulting firm has been hired to develop a program that meets the following requirements. Your program must provide a menu to the user. This menu should list five different products of your choice. Once the user selects one product, they should specify which state they are located. The state choices should include CT, VT, WI, CA and WA. State taxes vary for each state (7.5%, 7.8%, 6.8%, 7.2% and 6.4%, respectively). The user should then specify the desired number of cases (assume there are 12 items per case). The appropriate state tax should be added to the total cost of the product (Item quantity multiplied by unit price). Next, using the Math class random method, generate 20 numbers ranging between 1-100. Ensure there are no duplicates. Display the following to the user. Name of the product selected Number of cases Number of items Subtotal (units * price per unit) State tax (with the percentage and state abbreviation in parentheses), Total cost (subtotal plus state tax) The table of random numbers displayed in a table of five numbers per row.


You need to use at least one repetition statement, one selection statement, Scanner class, at least one array and the random method in this code. For generating random numbers you should use the random () static method of class Math. It returns a double so you will need to cast it as an integer. For example,

number = (int) ( range * Math.random () ) + 1;

Your assignment submittal should include your Java program with commented Java source code files.


She also grades off of her grade rubric:

ITCO620-Unit   3 Individual Project

Grading   Rubric


The code compiled and the class file was submitted


The program executed and the expected output was displayed to   the screen


The code was developed using proper naming conventions


Logic was developed based upon the stated requirements


Menu of items or necessary prompts were displayed to the user   for selection


Scanner class was used to obtain end user input


Math class random method was used


Necessary variables were defined with at least one array used


Proper equations were defined and calculations were made


The program included at least one repetition and one selection statement


Random numbers were generated for the appropriate number and   range


The table was printed as defined


Random numbers were checked for uniqueness (duplicates were   eliminated)


The code was commented adequately


100 points


Submitted: 2 years ago.
Category: Homework
Expert:  TheDoctor replied 2 years ago.
Hello again Terry. Thank you for requesting me.

Because you are asking for two version of this, I must kind request that you adjust the question price before I begin work. I will submit an under-priced report. You will receive an email with the suggested price. You can edit the question and change the question price to the suggested price.

Thank you
Customer: replied 2 years ago.

ok I will change it to $60 for both.


I also wanted to tell you that the last assignment I got from you last week. I got an F for it because she said it didn't compile. One had 4 errors and the other only had 1 error this is what she said. I turned in the assignment with no changes made by me as you instructed me last week as you stated they were turn in ready. I sent you the rubric this time so you can see exactly what she is looking for because it seems to be more than what is included in the original instructions she assigns.


FYI.. my friend that I referred to you got an A but the other two both got "F" 's.

Expert:  TheDoctor replied 2 years ago.
All of the projects I have sent you compile perfectly. The one I gave your friend that you referred was exactly the same as the other, but with different code. If any of them did not compile then it would have been impossible to provide you with class files. I gave you class files for all of them, which is undeniable proof that they compiled without errors. I know that you had some issues with crossing the files and overwriting one project with another, which would definitely cause major issues.

If you would like, I can opt out and let another professional work on this for you.
Customer: replied 2 years ago.

NO I don't want to you to opt out. I just wanted you to know how I was being graded by my professor. I agree that in order to get a class file it has to compile, but she is trying to tell me otherwise that the file didn't. what we did was download and submitted as it, but she saying there were errors that stopped from viewing properly.


Honestly I think she is just trying to be difficult with us, I don't think its your work at all. Because she said it was great work but it didn't compile and that is why I got an F.


That's why this time I sent the grading rubrics she uses to try and avoid any further error.



Expert:  TheDoctor replied 2 years ago.
Hello again, Ricardo.

Alright. I will make it simpler to compile and keep them separate this time.

I will contact you once they are ready.
Customer: replied 2 years ago.

ok thanks

Expert:  TheDoctor replied 2 years ago.

You need to spend $3 to view this post. Add Funds to your account and buy credits.
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1757
Experience: M.S. in Internet Information Systems
TheDoctor and 2 other Homework Specialists are ready to help you

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... seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like
...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:

  • 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
< Previous | Next >
  • 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!!!! Alex Los 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. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, 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. Esther Woodstock, 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. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX

Meet The Experts:

  • LogicPro



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >
  • LogicPro's Avatar



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany


    Satisfied Customers:

    More than 5000 online tutoring sessions.
  • Linda_us's Avatar


    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    Post Graduate Diploma in Management (MBA)
  • Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    Experience with chartered accountancy
  • Bizhelp's Avatar



    Satisfied Customers:

    Bachelors Degree and CPA with Accounting work experience
  • Seanna's Avatar



    Satisfied Customers:

    3,000+ satisfied customers, all topics, A+ work