Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

5. How do you expect to use active listening during the meeting?

Answered: 1 week ago

Question

Which team solution is more likely to be pursued and why?

Answered: 1 week ago