Show a program with the variables that are hardcoded values


Problem

Show a program with the following variables that are hardcoded values - you should manually change the values for testing:

1) The product that we are working with (a soda brand like Pepsi)
2) The number of cans in the cooler
3) The number of cases in the storage room
4) The number of cases on order
5) The number of cans per cases

Your program should do the following:

1) show a variable that holds the number of cans in storage.
2) show a variable that holds the number of cans in stock (on-premise)
3) show a variable that holds the number of cans in inventory (including cases on order)

Your program should produce the following output:

A case of Pepsi contains 12 cans.
We have 13 cans (cooler) and 24 cans (2 cases - storage room) in the store for a total of 37 cans in stock.
We have 24 cans (2 cases) on order which puts our total inventory at 61 cans.

Assumptions:

1) We only purchase a 1 case size per product.

2) Your print statement can only contain a string literal with a format statement. The format statement can only contain variables -- no expressions.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Show a program with the variables that are hardcoded values
Reference No:- TGS03268221

Expected delivery within 24 Hours