Chat with us, powered by LiveChat You™re the oldest in your family and you want to write a program to help your youngest sibling with their arithmetic - School Writers

You™re the oldest in your family and you want to write a program to help your youngest sibling with their arithmetic

  1. You’re the oldest in your family and you want to write a program to help your youngest sibling with their arithmetic. Use the ‘DO WHILE’ loop (P204) to create a menu of options (Addition, Subtraction, Multiplication, or Exit).  Based on the option, display two numbers that your sibling can calculate and enter the answer.  If the answer is correct, then congratulate them; otherwise, show them the correct answer.  You may use JOptionPane or Scanner.
    Hints/Tips:
       – Use Random Class to get numbers (p249) and use (100) to limit the numbers
       – You can use n in JOptionPane to create the menu
       – You can use .toUpperCase() (p75) at the end of JOptionPane to make it uppercase
       – When you add numbers in JOptionPane, you must put them in () or it prints each
       - Do addition first and run it to make sure it works, then add one at a time to it
       – It took me about 45 minutes
    Rubric:
       – Doesn’t use “do while” statement -5 (no credit for this part of the assignment)
       – Doesn’t do one of the math functions -3 (-1 for each missing function)
       – Doesn’t display menu -.5
       – Doesn’t show results -.5
       – Doesn’t follow programming conventions -.5
  2. You are the supervisor for a lawn maintenance company and you need to keep up with employee pay. Write a program that uses the ‘WHILE’ loop (p200) which does the following.

    The while loop should ask the user for the employee number, gross pay amount, state tax amount, federal tax amount, and FICA withholding amount until the employee number is 0.  After the data is entered, the program should display the total amounts for all employees of their gross pay, state tax amount, federal tax amount, FICA withholding amount, and net pay (which is gross pay minus the others).  You may use Scanner or JOptionPane to gather and display your data.
    Hints/Tips:
       – The output does not have to be formatted (JOptionPane centers, so it’s hard to align)
       – You can use parse with JOptionPane to get input in one line (but don’t have to)
       – The employee number will not be printed since we’re only printing totals
       – It took me about 22 minutes
    Rubric:
       – Doesn’t use the while loop -5 (no credit for this part of the assignment)
       – Doesn’t ask for all the variables -1 (-.25 for each variable)
       – Doesn’t print the totals -1
       – The loop doesn’t work – 2
       – Doesn’t follow programming conventions -.5

  3. You work for an automotive dealership and the owner wants you to write an amortization schedule report. Ask the user for the loan amount, # of payments, interest rate, and payment amount. The program should use the for loop (p207) print the amortization schedule.  The columns should be:
    Year    Balance                     Payment        Interest           Principle        New Balance
       1       429,700.84                86,500            51,564.10      34,935.90      394,764.94

    Balance starts with the initial loan amount, then New Balance
    Payment is from the user
    Interest is the Balance * Interest Rate (make sure to use .12 for 12%)
    Principle is Payment – Interest (this should get bigger while interest gets smaller each time)
    New Balance is Balance – Principle (and is what you will use for the next iteration)
    For testing purposes (because it works to a zero remaining amount at the end), use the following input parameters – Balance 429,700.84, Payment 86,500, Interest 12%, and Term is 8 years, but it would be good to use other amounts too.
    Assume the payments are made annually, and thus, not divided by 12 for a monthly rate.
    Hints/Tips:
       – This will work best to use Scanner and printf, instead of JOptionPane
       – You’ll likely need multiple t (tabs) to line up the columns
       – Put any math used in the printf in parenthesis – ex: (yr+1)
       – If you don’t use the sample data, it may not end on zero
         (extra logic is needed for the final payment, but not necessary for this assignment)
       – It took me about 30 minutes
    Rubric:
       – Doesn’t use for loop -5 (no credit for this part of the assignment)
       – Doesn’t ask for the variables -.5
       – Doesn’t calculate prin, int, and new balance correctly -.5
       – Doesn’t print all the columns -.5
       – Doesn’t print the correct year -.1

    Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

    Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

    Do you need an answer to this or any other questions?