Question: 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.

 
  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 users hourly rate of pay and the number of hours worked. Display the users 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 + I). 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.

Write a program that accepts two numbers as input and print the greatest of two numbers using conditional operator.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!