---
title: "Discussion on \"CodeWars (5 kyu) Pete, the baker - Javascript\" | Hashnode"
description: "Discussion on \"CodeWars (5 kyu) Pete, the baker - Javascript\". Description:\nPete likes to bake some cakes. He has some recipes and ingredients. Unfortunately he is not good in maths. Can you help him to find out, how many cakes he could bake considering his recipes?\nWrite a function cakes(), which takes the reci..."
url: "https://hashnode.com/posts/codewars-5-kyu-pete-the-baker-javascript/6446999728221b47cc48fc73"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [CodeWars (5 kyu) Pete, the baker - Javascript](https://namnguyendev.hashnode.dev/codewars-5-kyu-pete-the-baker-javascript?utm_source=hashnode&utm_medium=feed)

Description: Pete likes to bake some cakes. He has some recipes and ingredients. Unfortunately he is not good in maths. Can you help him to find out, how many cakes he could bake considering his recipes? Write a function cakes(), which takes the reci...

Apr 24, 2023 · 3 min read · namnguyendev.hashnode.dev  
Read the article

-   [#codewars](https://hashnode.com/tag/codewars)
-   [#5kyu](https://hashnode.com/tag/5kyu)
-   [#kata](https://hashnode.com/tag/kata)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Nam Nguyen](https://hashnode.com/@NamNguyenDev)

@NamNguyenDev · Spring, TX

  
[View profile](https://hashnode.com/@NamNguyenDev)

Software Engineer @ 100Devs

A passionate software engineer providing elegant, innovative, and accessible solutions. When I’m not click-clacking away at my keyboard, you’ll probably find me lost in a book, trying a new recipe/restaurant, or having a blast with my beautiful wife and precocious daughter. I have 10+ years of IT experience and look forward to discussing ways we can join hands for our next adventure!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
