0

Code Coach (DUCT TAPE) confusion.

Is it only me or does anyone else thinks that the duct tape code Coach instructions are confusing??, Just why are we given the length of the tape in feet and its width in inches?? For ease of reference, here's the instruction below:-- You want to completely cover a flat door on both sides with duct tape. You need to know how many rolls of duct tape to buy when you go to the store. Task: Given the height and width of the door, determine how many rolls of duct tape you will need (a roll of duct tape is 60 feet long and 2 inches wide and there are 12 inches in each foot). Don't forget both sides of the door! Input Format: Two integers that represent the height and width of the door. Output Format: An integer that represents the total rolls of duct tape that you need to buy. Sample Input: 7 4 Sample Output: 6

21st Jun 2023, 3:57 PM
DevAbdul
DevAbdul - avatar
5 Answers
+ 4
Have you tried that much you understood? Already many have solved this code coach so far. I will suggest you try to code the solution and share your code link for further help.
21st Jun 2023, 4:15 PM
D Shah 🎯⏳️
D Shah 🎯⏳️ - avatar
+ 3
Share your tries. If you are not able to complete this task then I recommend you to revise the lessons.
22nd Jun 2023, 6:01 AM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 3
Thanks D Shah 🎯⏳️ , Dragon RB and Hasnain [ACTIVE CHALLENGER] for your help, I've already solved the code Coach nearly a year ago, I was just revisiting it then I wondered if there was anyone who also thought the instructions were confusing.
22nd Jun 2023, 6:18 AM
DevAbdul
DevAbdul - avatar
+ 1
That one also got me confused, as well.
22nd Jun 2023, 3:54 AM
Dragon RB
Dragon RB - avatar
22nd Jun 2023, 7:11 AM
Dragon RB
Dragon RB - avatar