Question: Question No.3: Part (A): Marks [5] Write a C++ program according the following scenario You need to write a function that accepts salary and returns
![Question No.3: Part (A): Marks [5] Write a C++ program according](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f97509afa73_45766f97509494b9.jpg)
Question No.3: Part (A): Marks [5] Write a C++ program according the following scenario You need to write a function that accepts salary and returns the gross salary according to the following rules No tax for first 5000 to 10000 Afghanis 5% tax for above 10000 to 20000 Afghanis 10% tax for above 20000 and 50000 Afghanis 13% tax for above 50000 and 80000 Afghanis 20% for above 80000 and 200000 Afghanis Part (B): Marks [5] Write a program that displays the following menu for a parking area M motorcycle car B bus The program inputs the type of vehicle and number of days to park the vehicle. It finally displays the total charges for the parking according to the following: Motorcycle 30 Afghanis per day Car 50 Afghanis per day Bus 70 Afghanis per day =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
