A department store awards cash-value coupons depending on how much a customer spends on merchandise. For example, if you spend $50, you will get a coupon worth 5% of the amount spent or $2.50. Write the selection statement necessary to calculate and determine the percentageEarned and the actual couponValue the customer will receive based on the amountPurchased (must be a positive amount) entered by the user. couponValue = amountPurchased * percentageEarned a. Get amountPurchased from the user. You can choose to do with or without a message. Assume the input is a positive double data type. b. Use these given variable names and the following rate table in your calculations. c. If user spends $50, your output should look like: Your coupon percentage is 5% and your coupon value is $2.50. Format the couponValue to 2 decimals places in your output. Amount purchased Coupon percentage Less than $20.00 inclusive No coupon earned $20.00 to $50.00 inclusive 5% $50.00 to $100.00 inclusive 7% $100.00 to $150.00 inclusive 10% Over $150 15%
Blog
Identify structure marked by the blue star on the image belo…
Identify structure marked by the blue star on the image below. [BLANK-1] LE3-9.jpg
Calculate the following dose. How many mLs will you administ…
Calculate the following dose. How many mLs will you administer to your patient? Round to the nearest tenth. Order: Prednisolone 55 mg oral solution PO once daily Available:
The principle of good faith applies only to the buyer in a s…
The principle of good faith applies only to the buyer in a sales contract.
Calculate the following dose. How many tablets will you admi…
Calculate the following dose. How many tablets will you administer to your patient for one dose? Order: Oxycodone Hydrochloride 2.5 mg tablet PO every four hours PRN Available:
For extra credit. Identify feature marked by the red star on…
For extra credit. Identify feature marked by the red star on the image below [BLANK-1] and name bone [BLANK-2]. LE3-EC.jpg
Identify muscle marked by the blue star on the image below….
Identify muscle marked by the blue star on the image below. [BLANK-1] Provide innervation. [BLANK-2] LE3-13.jpg
The nurse is caring for a patient with lung cancer who prese…
The nurse is caring for a patient with lung cancer who presents with facial edema, dyspnea, and distended neck veins. Which oncological emergency does the nurse suspect?
Identify ligamentous group marked by the 2 red stars on the…
Identify ligamentous group marked by the 2 red stars on the image below. [BLANK-1] For extra credit, name one of the 2 specific marked ligaments. [BLANK-2] LE3-20.jpg
Identify feature marked by the red stars on the image below….
Identify feature marked by the red stars on the image below. [BLANK-1] Right or left? [BLANK-2] LE3-1.jpg