Question: Section B:Answer any three w (10) a) Write a program in C++ to calculate the commission of a salesman's total sales. The commission on a

Section B:Answer any three w (10) a) Write a program in C++ to calculate the commission of a salesman's total sales. The commission on a salesman's total sales is a follows: ii) Sales between 100 and 500 inclusive, commission is 10% of sales iii)Sales above 500, commission is 100 + 8% of sales above 500 i) Sales less than 100 no commission b) Write the algorithm for the problem. 2) a) Write a program in CH to create a simple calculator using switch statement (10) b) Write the algorithm for the problem. 3) (10) a) Write a program in C++ to create Student information and display the same with the following details: Name, Roll and Marks using Structure. Implement display with function b) Write the algorithm for the problem. (10) a) Write a program in C++ to search an element in an array using Linear Search. b) Write the algorithm for the problem. Section : (10) Write a program using Raptor that converts between degrees Fahrenheit and Celsius. The user must first enter the conversion that is desired (F to Cor C to F) and then enter the value to be converted, The formulas for conversion are: F = 95 C +32 and C = 5/9 (F-32). Write a program using Raptor to find the grade as 'fail' or 'pass. The program accepts the grades of students for three tests and calculates the average, Grade less than fifty should be displayed as "fail'. (10) a) Write a program using Raptor to find the sum and mean of natural numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
