Calculate the number of slices

Assignment Help Business Management
Reference no: EM131542421

In Python

Question 1:

Joe's Pizza Palace needs a program to calculate the number of slices a pizza of any size can be divided into. The program should perform the following steps:

A) Ask the user for the diameter of the pizza in inches.

B) Calculate the number of slices that may be taken from a pizza of that size.

C) Display a message telling the number of slices.

To calculate the number of slices that may be taken from the pizza, you must know the following facts:

  • Each slice should have an area of 14.125 inches.
  • To calculate the number of slices, simply divide the area of the pizza by 14.125.
  • The area of the pizza is calculated with this formula: Area = π*r2

Reference no: EM131542421

Questions Cloud

Distinctions of qualitative research questions : Considering your text readings, what are some distinctions of qualitative research questions? Focusing on your own selected problem or issue and theoretical.
What do you feel about mamas decision : How important do you think what happened on p.511 is to where the Younger family is headed? (Refer directly to page # and lines spoken in this section
Who is ultimately responsible for the strategic planning : Who is ultimately responsible for the strategic planning of an organization's operations
Assessment phase of rmf : Consider the network risks that may be discovered during the assessment phase of RMF. Assessments can be time consuming.
Calculate the number of slices : A) Ask the user for the diameter of the pizza in inches. B) Calculate the number of slices that may be taken from a pizza of that size.
Discuss what medications are used to treat this disease : Atherosclerosis is a major risk factor for many types of cardiac events. Discuss what medications are used to treat this disease and who should be taking them
What do these two speeches have in common : What are the values expressed in Lincoln's "Second Inaugural Address"? How do the passages from the text try to persuade you to accept these values
Relational database concepts and applications : Class: Relational Database Concepts and Applications Assignment: Entities and Attributes Actions for 'Entities and Attributes.
Suggest a password policy for no-internal-controls : Suggest a password policy for No-Internal-Controls. Include an example of a technical control and an administrative control.

Reviews

Write a Review

Business Management Questions & Answers

  Analyze each given reason as a reason for a diversity

Analyze each reason listed above as a reason for a diversity of approaches to software construction and modeling, and give your opinion on whether or not each reason is valid.

  Complete a swot analysis for the selected industry

Complete a SWOT analysis for the selected industry. The SWOT analysis allows a business to understand how a competitor is positioned in the environment by assessing its strengths, weaknesses, opportunities, and threats.

  How can you use focus groups and surveys

How can you use focus groups and surveys to determine your customer's feelings about their products despite the recall that has occurred?

  Explanation of micro vs macroeconomicsyou are asked to

explanation of micro vs macroeconomicsyou are asked to address a professional meeting and explain microeconomics

  Health care industry will change

How do you believe that your current or future job within the health care industry will change and how will you respond to that change?

  How does hammerpress employ the concept of dynamic pricing

Discuss Hammerpress in relation to the three major pricing strategies. Which of these three strategies is the company's core strategy?

  Can leaders really motivate employees

Can leaders really motivate employees? If so, how and for how long? Is there a way to create and sustain a motivating environment that will also help retain talent? What is it? How does it work?

  What is the present value

What is the present value of:a. $7,900 in 10 years at 11 percent?b. $16,600 in 5 years at 9 percent?

  Trigger event causing change

What are specific items in Google's environment that require businesses to change

  Conditions facilitate creativity and innovation

What structures and conditions facilitate creativity and innovation within an organization? What structures inhibit creativity and innovation? Give examples and explain both.

  Seasonal differences in demand for ice cream

Are there certain seasonal differences in demand for ice cream that could taint the price elasticity analysis?  Explain. Is there potential for a tainted study because of changes in external variables over the course of the year?  For example, its m..

  What can organizations do to make sure managers give ratings

What can organizations do to make sure managers give accurate ratings? What are some salient Gestalt characteristics when it comes to job performance?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd