Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a complete program for the followings: Ask the user to input an integer number and store into variable num. Then, determine if the number
- Write a complete program for the followings:
- Ask the user to input an integer number and store into variable num. Then, determine if the number is divisible by 7. If num is divisible by 7, display a message number can be divided by 7. Otherwise, display number cannot be divided by 7.
(4 marks)
- Given the following table, ask the user to enter the item code and quantity of an item. Calculate the total price of item (based on the table) and total price after 6% SST. Display the price of item after SST.
Item Code | Item Name | Price | Discount |
A | T-shirt | 12.00 | Quantity > 10, 6% Off |
B | Bag | 25.00 | No discount |
(6 marks)
answer in C++
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started