top of page

PROGRAMMING CHALLENGES

Bookstore Discount Calculator

Difficulty:

1 Easy

2.2 Practice Exam Questions

Topic:

Write a program for a bookstore that offers a 10% discount on orders over �50. Allow the user to input the total order amount and the number of books purchased. Calculate and display the final price after any applicable discount.

Use an if statement to apply the discount and calculate the final price.

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page