Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

When checking the assignment, I only have 72% correct. This abby ice cream shop question was asked before but none of them seem to get

When checking the assignment, I only have 72% correct. This abby ice cream shop question was asked before but none of them seem to get above an 80%. Thank you in advance. image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Abby has always dreamed of having her own ice cream shop. Now as a young entrepreneur she has decided to pursue her dream, but she needs some help in determining the financial viability of her plan. She has come up with a list of income and expense parameters and needs a simple program to input these parameters and calculate the monthly profit or loss as well as performing some variable cost what-if analysis. total income = selling_price = servings_per_month profit_loss = total_income total_expenses elif selection ==8 : print("The Ice Cream Shop will have a monthly profit/loss of", round(profit_loss, 2), "or", round(profit_loss/servings_per_month, 2), "per 81 serving." ) 82 83 elif selection ==9 : print ("Varying the Expenses From 10% to +10%: ") for i in range (10,11,2) : varying_expenses = serving_cost * servings_per_month + labor_rate * 8 * 6 servings_per_month + shop_rental * (1+0.1i)+ utilities (1+0.1i)+ 86 advertising * (1+0.1i) 87 varying_profit_loss = total_income - varying_expenses print ("Percent:", 1, "Expenses:", round(varying expenses, 2), 88 "Profit/Loss:", round(varying_profit_loss, 2)) print ("Varying the Income From -10\% to +10\%:") for i in range (10,11,2) : varying_income = selling_price * servings_per_month /(1+0.1/f/i) varying_profit_loss = varying_income - total_expenses print("Percent:", i, "Income:", round(varying_income/2), "Prof thLoss:" 94 round(varying_profit_loss, 2)) 96 elif selection =10 : if profit_loss > 0 : current_price = selling_price while profit_loss > 0 : current_price =0.01 varying_income = current _price servings_per month varying_profit_loss = varying_income total expenses profit_loss = varying_profit_loss else: current_price = selling_price while profit loss : current_price +=0,1 varying income = current price - servings_per month varying profit loss = varying.income - total expenses profit_loss = varying_profit_loss print("Break-Even occurs with a selling price of:", round(current_price, 2)) print("Goodbyel") Create the text based m... The user can set the exp... Add profit/loss calculations Add "What if" analysis to your menu to display varying expenses and income from 10 to +10 in increments of 2 . This task will be manuall

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions