top of page

PROGRAMMING CHALLENGES

Charity Marathon Sponsor

Difficulty:

2 Medium

2.2 Practice Exam Questions

Topic:

Write a program for a charity marathon that tracks sponsors. The user should input the names of sponsors and the amount they pledged. If the total amount pledged exceeds �1000, output a special thank you message. Display all sponsor names and amounts.

Use arrays to store sponsor names and amounts, and an if statement to check if the total exceeds �1000.

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