Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per unit area) given the diameter and cost. Use parentheses to make the order of operations clear; do not rely on operator precedence. Area of a circle is pi * radius * radius.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more