Question: A box can fit a maximum of 5 items. Given three groups of items, num_itemsA, num_itemsB, and num_itemsC, assign num_full_boxes with the number of full

A box can fit a maximum of 5 items. Given three groups of items, num_itemsA, num_itemsB, and num_itemsC, assign num_full_boxes with the number of full boxes that the items will take up. The program will convert num_full_boxes to an integer and print the value.

Sample output for inputs: 1 2 4

Number of full boxes: 1  Code given: num_full_boxes = 0.0 num_itemsA = int(input()) num_itemsB = int(input()) num_itemsC = int(input()) ''' solution goes here ''' print(f'Number of full boxes: {int(num_full_boxes)}')

Step by Step Solution

3.44 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Solution Here is a summary of the problem Problem Given three groups of items numitemsA numitemsB an... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!