Simple Math: Multiply & Divide
Task
Swipe to start coding
Complete and output the arithmetic operations below
- Multiply the price of peanut butter (
7.32
) and the tax rate (0.2
) to calculate the tax value. Use*
operator - Divide price of eggs (
8.30
) and the number of eggs (20
) to calculate the price of single egg. Use/
operator
Requirements checklist
- Check that the value 7.32 * 0.2 is printed to stdout with a tolerance of 1e-6.
- Check that the value 8.30 / 20 is printed to stdout with a tolerance of 1e-6.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 4
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 2.17
Simple Math: Multiply & Divide
Swipe to show menu
Task
Swipe to start coding
Complete and output the arithmetic operations below
- Multiply the price of peanut butter (
7.32
) and the tax rate (0.2
) to calculate the tax value. Use*
operator - Divide price of eggs (
8.30
) and the number of eggs (20
) to calculate the price of single egg. Use/
operator
Requirements checklist
- Check that the value 7.32 * 0.2 is printed to stdout with a tolerance of 1e-6.
- Check that the value 8.30 / 20 is printed to stdout with a tolerance of 1e-6.
Solution
Everything was clear?
Thanks for your feedback!
Awesome!
Completion rate improved to 2.17SectionΒ 1. ChapterΒ 4
single