Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

lew History Bookmarks Window learn.zybooks.com C ry > CIS 116: Introduction to Computer Programming home > 2.4: Floating-point zyBooks catalog ? Help Feedback? CHALLENGE ACTIVITY

image text in transcribed
lew History Bookmarks Window learn.zybooks.com C ry > CIS 116: Introduction to Computer Programming home > 2.4: Floating-point zyBooks catalog ? Help Feedback? CHALLENGE ACTIVITY 2.4.1: Gallons of paint needed to paint walls. Finish the program to compute how many gallons of paint are needed to cover the given square feet of walls. Assume 1 gallon can cover 350.0 square feet. So gallons = the square feet divided by 350.0. If the input is 250.0, the output should be: 0. 7142857142857143 Note: Do not format the output. See How to Use zyBooks for info on how our automated program grader works. 486746.3372652.qxezay? 1 wall_area - float(input()) 2 passed 3 # Assign gallons_paint below wall_area = float(input passed Your solution goes here ." 8 print (gallons_paint) Run : 2 23 MacBook Air 14 F9 F10 F1 F2 20 F3 DOO F4 FB F5 F6 F7 A & K @ LA 18 O 2 4 5 W m R T Y O P U

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions