Write a pseudocode that will allow a retail store to process the monthly commission that will be paid to their employees. Your solution will accept the total employees to be processed, and then produce an output showing the commission to be given for each employee, after accepting their name, Taxpayer Registration Number (TRN) and total sales for the month. A 10% commission is given if the total monthly sales is 100,000 or less; however, if the total monthly sales amount exceeds 100,000, the employee gets a commission of 8% of the amount up to and including 100,000 as well as 20% of the amount exceeding 100,000.
Write a C++ program that accepts a base value, x, and a power value, k. The program must use an appropriate in-built function (from the CMATH library) to obtain the result of x k . The solution must repeat the instructions, for obtaining x and k to compute and output x k , for TEN (10) times.
A machine’s engine coil rotates in a 360o motion ten times every second once the machine is in operation. Nebisko Biscuits starts its production at 10:00 am and ends at 4:00 pm (6 hours) each day. The company packages one biscuit every 5 seconds. A report of the total biscuits packaged per day is given to the production manager for their weekly report. The machine encountered a fault yesterday and had stopped working for 35 minutes. Implement a C++ program to compute and output the total of times the coil is expected to rotate during normal period of production; as well as compute and output with the total amount of biscuits that is expected to be packaged daily. Your solution must also compute and output the total amount of biscuits that would have been packaged based on the duration for which the machine encountered a fault yesterday
Vogue Motor Corporation has decided to add a new app to their latest Vogue VII models. The designers require the app to give beep notifications to indicate the total miles on route to the driver’s inputted destination, based on the total distance that the car will drive. Use the following formula to obtain miles: miles = kilometres × 0.62137 You are required to implement a C++ solution that will: ● Get the destination’s name and the kilometres to be travelled, from the driver ● Output, using the “beep” notifications, the amount of miles to be travelled to the destination; i.e., if the driver enters 13 for the kilometres to their Half-way Tree destination and Jane for their name, your solution will beep 8 times to indicate 8 miles to the driver’s destination while outputting the following message:
Using java, define a class student with the following specification Private members of class student: admno integer sname string eng, math, science of type float total of type float ctotal() //a function to calculate eng + math + science with float return type. Public member function of class student: Takedata() //Function to accept values for admno, sname, eng, science and invoke ctotal() to calculate total. Showdata() //Function to display all the data members on the screen.
BinnsSoft is a software developing company that develops both system and application software. The company develops reliable and scalable software solutions for any OS, browser and device; they bring together deep industry expertise and the latest IT advancements to deliver custom solutions and products for their users. You are being hired at the company, and you have to give a presentation on various programming paradigms. Draft your response to each of the following questions that you have anticipated being ask. A. Explain the term ‘programming paradigm’. (2 marks) B. Differentiate among any THREE (3) programming paradigms that computer programmer may use today. Your solution must also identify an example of the programming language that the computer programmer may use to implement the solution.
A teacher has stored the percentage scores for eighty-six (86) students; she has the following tasks to complete: • compute and print the average score. • add an additional fourteen percent to each student’s score Write a pseudo-code that will first allow the teacher to enter the initial percentage score for each student, as well as add the 14% to each student’s score. Your solution must then compute and display the average score. Your solution must implement and use an array to store and process the percentage scores.
Write a pseudocode that will allow a retail store to process the monthly commission that will be paid to their employees. Your solution will accept the total employees to be processed, and then produce an output showing the commission to be given for each employee, after accepting their name, Taxpayer Registration Number (TRN) and total sales for the month. A 10% commission is given if the total monthly sales is 100,000 or less; however, if the total monthly sales amount exceeds 100,000, the employee gets a commission of 8% of the amount up to and including 100,000 as well as 20% of the amount exceeding 100,000.
Write a C++ program that accepts a base value, x, and a power value, k. The program must use an appropriate in-built function (from the CMATH library) to obtain the result of x k . The solution must repeat the instructions, for obtaining x and k to compute and output x k , for TEN (10) times.
Outline one advantage and one disadvantage of using a compiler, as opposed to using an interpreter.