Here are some more problems for you to try and solve. For each problem, plan out the program you are going to create by first writing an algorithm for it.
Once you have created the program, test it fully and document your testing using a test table. Take screenshots of the testing that you carry out.
A company pays people to work from home painting the miniatures that it sells. People are paid for each miniature that they paint. If someone paints more than 30 miniatures in a month, they receive a bonus of £50.
Write a program that asks the user how many miniatures they have painted, and how much they get paid for each miniature. The program will calculate and display their pay for the month, including any bonus they may have earned
A car dealership has three salespeople. They are get bonuses depending on how much sales they make. If they sell £30,000 or more worth of cars, they receive a bonus equal to 5% of their sales. If they don't sell £30,000 or more worth of cars, their bonus is only 3%.
Write a program that allow the user to enter the sales for each salesperson. The program will calculate and display the bonus for each salesperson
The National 5 Computing Science mark is made up of two parts - an exam worth 110 marks and a course work assignment worth 50 marks. Pupils receive a grade depending on what percentage of the total available 160 marks they achieve:
Write a program that allows the user to enter a exam mark and coursework mark. The program will tell the user what grade was achieved.
Now extend the program to calculate the grades of a class of 10 pupils
Hint: Put if statements inside one another.