Retired

Pizza Comparison (retired)

Description:

You and your friends are about to order pizzas. The pizzeria has two pizzas in their menu. The first one has diameter d1 and price price1 and the second diameter d2 and price price2. Return the diameter of the pizza which has the most value for money.

If the value for money of the two pizzas are equal return the second diameter.

Mathematics
Puzzles

More By Author:

Check out these other kata created by Jjason

Stats:

CreatedJan 19, 2020
Warriors Trained433
Total Skips69
Total Code Submissions943
Total Times Completed163
Python Completions163
Total Stars3
% of votes with a positive feedback rating75% of 99
Total "Very Satisfied" Votes62
Total "Somewhat Satisfied" Votes24
Total "Not Satisfied" Votes13
Total Rank Assessments96
Average Assessed Rank
7 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Jjason Avatar
Ad