Question: Using Net beans IDE 1. Write a program for an Inventory system for a Supermarket Your program should accept the Item details like itemid,
Using Net beans IDE 1. Write a program for an Inventory system for a Supermarket Your program should accept the Item details like itemid, item name, quantity, discount and price. Calculate the net amount to be paid.[(quantity * price) - discount]. Display the details neatly 2. Write a program that accepts a user's hourly rate of pay and the number of hours worked. Display the user's gross pay (hourly rate * number of hours), the withholding tax (15% of gross pay), and the net pay (gross pay-withholding). Save the class as Payroll 3. Write an application that calculates and displays the amount of money a user would have if his or her money could be invested at 5% interest (R) for one year(N). The program prompts the user for the starting value of the investment (P), do the interest calculation (I = P *N* R/100) and display the amount after one year (Amount = P + 1). Save the program as Interest 4. Write a program that accepts two numbers as input and print the greatest of two numbers using conditional operator.
Step by Step Solution
3.45 Rating (152 Votes )
There are 3 Steps involved in it
Below are examples of Java programs for each of the described scenarios You can use these as a starting point and integrate them into your NetBeans ID... View full answer
Get step-by-step solutions from verified subject matter experts
