Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managing Your Information How To Design And Create A Textual Database On Your Microcomputer

Authors: Tenopir, Carol, Lundeen, Gerald

1st Edition

1555700233, 9781555700232

More Books

Students also viewed these Databases questions

Question

Why is it important for a firm to conduct career development?

Answered: 1 week ago