top of page

PROGRAMMING CHALLENGES

Grocery Store Inventory

Difficulty:

1 Easy

2.2 Practice Exam Questions

Topic:

FreshMart is a grocery store that needs a program to manage its inventory. Write a program that stores the names and prices of 10 products in two arrays. The user should be able to enter a product name and the program will output the corresponding price.

Use parallel arrays to store product names and prices.

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