Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Error: Your session has e X Sporti Ubetag X Sullivan.project1.outine. X zy 3.12.490 38: Pack a box (tc * learn.zybooks.com/zybook/MSUCSE102 Spring2021/chapter/3/section/12 Maps oks My library

image text in transcribed
Error: Your session has e X Sporti Ubetag X Sullivan.project1.outine. X zy 3.12.490 38: Pack a box (tc * learn.zybooks.com/zybook/MSUCSE102 Spring2021/chapter/3/section/12 Maps oks My library > CSE 102: Algorithmic Thinking and Programming home 3.12: Lab 3B: Pack a box (floor division) mall Youtube zyBooks catalog Help 0725 LAR ACTIVITY 3121:Lab 38: Pack a box (floor division) main.py Load default template 1 # compute number of bones for given number of books 2 3.box_height - 10.5 4 book thickness - 1.2 6 compute the number of books per standard box Convert the result to on Integer type 7 books per box- 8 9 W now ask the user for the number of books the customer ordered 10 books._ordered 11 12 compute the number of boks needed Store it in the variable colled "hun.boxes 13 num.boxes 14 15 conute w nany books are left over, and then print the final message 16 Develop mode Submit mode Run your program as often as you'd like, before submitting for grading, Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box Predefine program input (optional) if you'd like to predefine your inputs, provide them here

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

Computer Aided Database Design

Authors: Antonio Albano, Valeria De Antonellis, A. Di Leva

1st Edition

0444877355, 978-0444877352

More Books

Students also viewed these Databases questions

Question

What element has the lightest atoms?

Answered: 1 week ago