Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

solution should Assignment details and requirements a solution algorithm for the

ID: 3910867 • Letter: S

Question

solution should Assignment details and requirements a solution algorithm for the following problems. Your sol Construct contain: . Defining problem . Pseudo code algorithm Desk check of the algorithm (two test cases for each question) transaction record on a sales commission file contains the retail price of item sold, a transaction code that indicates the sales commission cat which an item can belong, and the employee number of the person who s item. The transaction code can contain the values A, B or C, which indica the percentage commission will be 6%, 8% or 10% respectively. Constr algorithm that will read a record on the file, calculate the commission ow that record, and print the retail price, commission and employee number category to d the ng for (8 Marks) Design an algorithm that will prompt an operator for a student's serial number and the student's exam score out of 100. Your program is then to match the exanm to a letter grade and print the grade to the screen. Calculate the letter grade as follows: (10 Marks) Exam score 85 and above 75-84 65-74 50-64 below 50 Assigned grade HD

Explanation / Answer

We have the Input as Sales Commission Table & dummy data as following for it:

Also, we have got Transaction Code to Commission% Table

Solution for this problem:

Problem Definition

Task is to read each records from the Sales Commission File & to calculate the Commission owing for that record, and finally print Retail Price, Commission & Employee Number

Pseudo code Algorithm

Retail Price ($) Transaction Code Emp_Num Commission ($) 100 C 1 10 200 B 2 16 300 C 3 30 400 A 4 24 500 B 5 40 600 B 6 48 700 A 7 42 800 A 8 48 900 C 9 90 1000 B 10 80