Question: c++ switch statement Lab 3-2: Invoice Total Calculator 3.0 Create a program that calculates discount percent, discount amount and invoice total based on customer type
Lab 3-2: Invoice Total Calculator 3.0 Create a program that calculates discount percent, discount amount and invoice total based on customer type and sublotal. Note: Bold words are output while non-bold words are input. Conenis Ivalid datal Specifications - The discount rules are as follows: - Use a switch statement to determine the type of customers. - Your program should be able to accept both lower and upper cases as types of customers. - The program should accept decimal entries like 355 and 1425 . - Assume that the user will always enter valid data for the subtotal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
