Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
c++
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 switch statement
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