XYZ Corporation pays its salespeople a con the following table: Sales (RM) Above 10,000 5,000 to 10,000 Below 5,000 Commissi 10.0 7.5 5.0
Q: A customer want to buy five items. He has only 120.0 OMR with him. The price of the products are…
A: Given: Table is given with item name and price (OMR) as columns. Each item has some price. Goal: We…
Q: In a city there is a mini market called B-Mart that sells various types of snack. Specified min_sup…
A:
Q: python Create a pivot table to show the number of permits by borough in your assigned period with…
A:
Q: What is the python code in getting the average purchase amount Company likes to find out overall…
A: The solution for the above given question is given below:
Q: In repair facility problem, costs of every day repair is $300. What will be the annual repair bill?…
A: The Answer is in step-2.
Q: Calculate BEP for the following information. Year o Year 1 Year 2 Year 3 Total benefit 0 49561 61635…
A: Here, I have to provide a solution to the above question.
Q: daily dema pain P the maximum daily demand for interior paint is 2 tons. Reddy M optimum (best)…
A: Given that, Raw material- exterior- 6,1 Raw materia- Interior- 4,2 Profit- 5,4 Availability- 24,6…
Q: Co has five salespersons who sell three different types of durian n records for each type of the…
A: #include <stdio.h> int main() { char name[5][10]={"Johari","Ah…
Q: A shop owner has 2 outlets namely a High Street Branch and Mall Branch, before Covid19 lockdown the…
A: public class MyClass { public static void main(String args[]) { //We can also use single…
Q: Al Watan supermarket has hire-purchases scheme for locals and expats. The customers will get the…
A: To do : prepare a decision table according to given conditions
Q: с. if (car = "GM") OR (car = "Chrysler") OR (car = "Ford"): result сar US Company Ford else: Тоyota…
A: By program is If car is GM , Chrysler and Ford in any of these case it print US Company Else it…
Q: Prepare a Decision Table for this hire- purchase scheme.
A: In decision table here two table First one is condition and other is action
Q: Company ABC in Kenya pays its employees based on a commission of the sales they make as illustrated…
A:
Q: A shop owner has 2 outlets namely a High Street Branch and Mall Branch, before Covid19 lockdown the…
A: “Since you have posted a question with multiple sub-parts, we will solve first two subparts for you.…
Q: Formula for Savings is A. Yd - C = S B. Yd + S = C C. Yd - S = C D. Yd + C = S
A: The correct answer is : A. Yd-C=S
Q: A certain store has the following scheme Commodity code: X - commodities are discounted by 8%
A: A commodity code is a sequence of numbers made up of six, eight, or ten digits. the restrictions and…
Q: AL Watan supernmarket has hire-purchases scheme for locals and expats. The customers will get the…
A: What is a decision table? A decision table is a table which is used to simplify the complex logics…
Q: What does this mean: This does not handle the end of month processing correctly. The monthly fee…
A: Below is the code snippet to get new balance in java and sample output:
Q: Interest rate, r "₁ 72 (a) MS₁ MS₂ MD Quantity of money, M Interest rate, r (b) S₁ Refer to Figure:…
A: Student
Q: A customer want to buy five items. He has only 120.0 OMR with him. The price of the products are…
A: Algorithm No.of items = 5 Total_Cost = 0 items = 0 Total_OMR = 220 while items !=No.of Items…
Q: Q/1 Calculate Completion time. Turnaround time and
A: Here in this question we have given four process and we have asked to apply SJF algorithm and SRTF…
Q: from the loan at the time the money was borrowed. If at the end of 1 year, you have to pay the full…
A: Interest = 20,000/80,000 *100 = 25%
Q: formula to calculate the sum of the current assets i
A: SUM formula in Excel The SUM function is of the arithmetic formula used in Excel to compute sum(or…
Q: A loan amounting to ₱ 1,000,000.00 is to be paid within 5 years. If the bank offers 12% nominal rate…
A: Given that A loan amounting to ₱ 1,000,000.00 is to be paid within 5 years. If the bank offers 12%…
Q: Excel: estimate the price of the commodity between (16+ 900) to (16+ 1500) units.
A: Given Data : Initial unit = 16 + 900 units Final unit = 16 + 1500 units
Q: Your company wants to set aside a fixed amount every year to a sinking fund to replace a piece of…
A: The answer is given below for the above given question:
Q: Al Watan supermarket has hire-purchases scheme for locals and expats. The customers will get the…
A: Decision table:- A decision table is used for both managing requirements and testing. It makes the…
Q: Calculate the percentege gain and loss for bearish and bullish stock Mankel Eserds. What is the Code…
A: Introduction: With the relative strength index (RSI), you can determine if a stock or other asset is…
Q: Using the information given in the table below, calculate the total amount payable by the company to…
A:
Q: What is the ending value of cost? int numApples 3; %3D double cost; Cost cost = 1.2 * numApples; O…
A: numApples is an integer type variable. numApples=3 It occupies 4Bytes in memory with a typical C/C++…
Q: Find the TOTAL DEDUCTION, round your answer. Gross pay: $399 O $30.5235 $31
A: Gross pay $399
Q: A customer want to buy five items. He has only 120.0 OMR with him. The price of the products are…
A: Given: Table is given with item name and price (OMR) as columns. Each item has some price. Goal: We…
Q: Q1. A shop owner has 2 outlets namely a High Street Branch and Mall Branch, befi 19 lockdown the…
A: Given the high street Branch and Mall branch we have to to write the java programe to calculate of…
Q: (iv) price -= discount; (v) discount 75%;
A: iv) price and discount both are valid variables price -= discount; The equivalent statement of price…
Q: A customer has to pay for five items. He has only 20.0omr with him. The price of the products are:…
A: Python is used to answer this question.
Q: Kevin bought a new moulding machine for $3,000. The machine deteriorates with age and requires to…
A: Answer: I have given answered in the handwritten format
Q: WAPto take cost price and selling price of an item calculate and print either profit or loss
A: Here is the C++ program as per the instruction: #include <iostream>using namespace std;//…
Q: Set-E6. Determine the exact simple interest on P20,000 for the period from January 15 to November…
A: Find the answer with calculation given as below :
Q: printf('Cost at initial theta (zeros): %f\n', cost); printf('Expected cost (approx) : 0.693\n');…
A: function featureNormalize(x) rows = size(x,1) cols = size(x,2) μ = mean(x,1) σ = std(x,1) xNorm =…
Q: TABLE FOR EMPLOYEE SALARY EMP ID EMP NAME TOTAL SALARY TAX1 TAX2 NET SALARY notes 1 TAYSEER 850 tax1…
A: The given problem is to be solved in Excel using suitable formulas to find the output value for each…
Q: ulate the cumulative values of $100 invested in AAPL at the close of trading on the last trading day…
A: In the above question value of trading on last day in February 2022 is not given.so suppose this…
Q: 852 Which of the following can be used to return the maximum salary (SALARY) for each location (LOC)…
A: query to find out maximum salary for each location : select LOC,max(SALARY) from emp group by LOC;…
Q: Get the profit amount of a company as input. Calculate the income according to the following table.…
A: As per our guidelines we are supposed to answer only one question please post other question as a…
Q: H.W 7/ For the following data: Fixed cost = 100,000 ID %3D Variable cost per unit = 300 ID Selling…
A: The break-even point is a critical number that must be analyzed within a business. It's the point…
Q: An annual discount factor is a multiplier for each year based on the discount rate and year. Select…
A: Task - true/false for given statement.
![XYZ Corporation pays its salespeople a commission based on the amount of their sales, as shown in
the following table:
Commission Rate(%)
Sales (RM)
Above 10,000
5,000 to 10,000
Below 5,000
10.0
7.5
5.0
Develop a C++ program that prompts user to enter the sales amount and then calculate and display
the appropriate commission.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F6c53c7bc-b523-4cfb-a1ba-a60f119f47ac%2F3a81355d-dfd4-4cc0-90ab-5687bd26525e%2F2ijqpdb_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
- 4. During each summer, John and Jessica grow vegetables in their backyard and buy seeds and fertilizer from a local nursery. The nursery carries different types of vegetable fertilizers in various bag sizes. When buying a particular fertilizer, they want to know the price of the fertilizer per pound and the cost of fertilizing per square foot. The following program prompts the user to enter the size of the fertilizer bag, in pounds, the cost of the bag, and the area, in square feet, that can be covered by the bag. The program should output the desired result. However, the program contains logic errors. Find and correct the logic errors so that the program works properly. // Logic errors. #include #include using namespace std; int main() { double costs double area; double bagsize; cout > bagsize; cout > cost; cout > area; cout << endl; cout << "The cost of the fertilizer per pound is: $" << bagsize / cost << endl; cout << "The cost of fertilizing per square foot is: $" << area / cost << endl; return 0; }c++ Total Purchase A customer in a store is purchasing five items. The prices of the five items are: price of item 1 = $15.95 price of item 2 = $24.95 price of item 3 = $6.95 price of item 4 = $12.95 price of item 5 = $3.95 Write a program that holds the prices of the five items in five variables. Display each item’s price, the subtotal of the sale (total price of five items without tax), the amount of sales tax, the total. Assume the sales tax is 7%, define it as a named constant in your program.Q1:- From the given figure, write a program in C++ LANGUAGE to read the height of cylinder then calculate the volume and the side area of cylinder in the case that the height of all cylinders is greater than or equal to 4.9955 cm according base radius r height h to these rules: Volume = height the base area ii. Side area = i. %3D base height the base perimeter Suppose the number of cylinders is 500
- Use C++ programming language A customer in a store is purchasing five items. The prices of the five items are:Price of item 1 = $15.95Price of item 2 = $24.95Price of item 3 = $6.95Price of item 4 = $12.95Price of item 5 = $3.95Write a program that holds the prices of the five items in five variables. Display each item’sprice, the subtotal of the sale, the amount of sales tax, and the total. Assume the sales tax is7%.C++ Ingredient Adjuster A cookie recipe calls for the following ingredients: 5 cups of sugar 1 cup of butter 75 cups of flour The recipe produces 48 cookies with this amount of ingredients. Write a program that asks the user how many cookies he or she wants to make, and then displays the number of cups of each ingredient needed for the specified number of cookies. Use fixed-point notation with two decimal places of precision.Using c++ Write a program that computes and displays the charges for a patient’s hospital stay. First, the program should ask if the patient was admitted as an inpatient or an outpatient. If the patient was an inpatient, the following data should be entered: The number of days spent in the hospital The daily rate Charges for hospital services (lab tests, etc.) Hospital medication charges If the patient was an outpatient, the following data should be entered: Charges for hospital services (lab tests, etc.) Hospital medication charges Use a single, separate function to validate that no input is less than zero. If it is, it should be reentered before being returned. Once the required data has been input and validated, the program should use two overloaded functions to calculate the total charges. One of the functions should accept arguments for the inpatient data, while the other function accepts arguments for outpatient data. Both functions should return the total charges
- C++ OOP Cindy uses the services of a brokerage firm to buy and sell stocks. The firm charges1.5% service charges on the total amount for each transaction buy or sell. When Cindy sells stocks, she would like to know if she gained or lost on a particular investment.Write a program that allows Cindy to input the number of shares sold, the purchaseprice of each share, and the selling price of each share. The program outputs theamount invested, the total service charges, amount gained or lost, and the amountreceived after selling the stock.Use C++ programming language Ingredient AdjusterA cookie recipe calls for the following ingredients:• 2.5 cups of sugar• 1 cup of butter• 3.75 cups of flourThe recipe produces 45 cookies with this amount of the ingredients. Write a program thatasks the user how many cookies he or she wants to make, and then displays the number ofcups of each ingredient needed for the specified number of cookies.Course Management Teaching Assesment ePortfolio Mahara Course search Helpdesk Develop a C++ program to calculate the area, perimeter and diagonal of a rectangle. The program should also offer the option to display the rectangle. The main flow of the program is given as follows: red 20.00 The user should input the length and width of a rectangle. The user can decide to display the drawing of the rectangle or not. If user indicate yes, execute user's decision. • Display the calculated area, perimeter and diagonal of the rectangle. The program should repeatedly ask if the user wants to process another rectan- gle. Your program should include two functions with the following function prototypes: void drawRec(int length, int width); A function that display a full rectangle with +'. void calcRec (int a, int b, int area, int perim, float diag); A function that returns the area, perimeter and diagonal through pointer parame- ter. Sample output: Enter the length and width of a rectangle: 4 8
- C++ Programming Exercise: A real estate office handles, say, 50 apartment units. When the rent is, say, $600 per month, all the units are occupied. However, for each, say, $40 increase in rent, one unit becomes vacant. Moreover, each occupied unit requires an average of $27 per month for maintenance. How many units should be rented to maximize the profit? Write a program that prompts the user to enter: a. The total number of of units. b. The rent to occupy all the units. c. The increase in rent that results in a vacant unit. d. Amount to maintain a rented unit. The program then outputs the number of units to be rented to maximize the profit.this is a C++ question, not Python or Java Write a C++ program. A software company sells a package that retails for $109. Quantity discounts are givenaccording to the following table. Quantity Discount 10 - 39 10% 40 - 65 18% 66 - 90 27% 91 - 120 35% 121 – 199 42% 200 or more 48% Write a program using the if/else if/else statement that asks for the number of units soldand computes the total cost of the purchase and the savings due to the discountapplied. The program should also display the number of units purchased and thediscount in percentage. The output should include the following text:Number of units purchased is:Discount applied is:Total savings due to discount is:The total cost of the purchase is:Do NOT use the switch statement, any logical operator or anything that looks likeone in the program. You will not receive credit for the program if you do.In C++ Programming, write a program that calculates and prints the monthly paycheck for an employee. The net pay is calculated after taking the following deductions: Federal Income Tax: 15% State Tax: 3.5% Social Security Tax: 5.75% Medicare/Medicaid Tax: 2.75% Pension Plan: 5% Health Insurance: $75.00 Your program should prompt the user to input the gross amount and the employee name. The output will be stored in a file. Format your output to have two decimal places. A sample output follows: Bill Robinson Gross Amount: Federal Tax: State Tax: Pension Plan: . Health Insurance: $3575.00 Social Security Tax: Medicare/Medicaid Tax:.........$ 98.31 Net Pay:...... $ 536.25 $ 125.13 $ 205.56 $ 178.75 $ 75.00 $2356.00
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)