Problem 44743. Pizza order

  • Created by wu

A pizza order by phone in diameter d1, pizza will be make only in diameter d2. Return the pizza pieces p should be make.(pizza can be cut into quarter)

  • for example:
  1. di = 2, d2 = 1, p = 4
  2. di = 1, d2 = 2, p = 0.25
  3. di = 5, d2 = 7, p = 0.75

Solution Stats

73.58% Correct | 26.42% Incorrect
Last Solution submitted on Oct 08, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers27

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!