top of page

PROGRAMMING CHALLENGES

Recipe Ingredient Finder

Difficulty:

2 Medium

1.4 String Manipulation

Topic:

Create a program that finds the position of a specified ingredient in a recipe and displays its index.

Inputs: Recipe, ingredient. Outputs: Ingredient position. Processes: Use find() to locate ingredient. Variables: recipe, ingredient, position.

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