Aug-25-2017, 03:16 PM (This post was last modified: Aug-25-2017, 04:18 PM by Larz60+. Edited 2 times in total.)

I am working on this for my intro to programming class. The cpcf is 1.2 the width is 20, the length is 30, and the depth is 10. Please help me and tell me what I am missing to make this work.

#this program figures the cost for filling a public pool #Caleb cpcf = float(input("Enter how much the city charges for a cubic foot of water")) PoolWidth = float(input("Enter the width of the pool")) PoolLength = float(input("enter the length of the pool")) PoolDepth = float(input("Enter how deep the pool is")) Volume = PoolWidth * PoolLength * PoolDepth cost = cpcf * Volume print("the cost of filling the pool is: " + cost)