mr_coffee
- 1,613
- 1
Hello everyone.
Again I think I'm not doing this right. The questions asks:
A programmer writes 500 lines of computer code in 17 days. Must there have at least one day when the programmer wrote 30 or more lines of code? why?
Well the first thing that came to mind was to see if he wrote 500 lines of code a day, how much code per day would he write, so I divided it by 17,a nd got 29.4. So if this is the case, then he wouldn't have to write 30 or more lines of code a certain day, because 29.4 < 30.
Again this is in the Pigeon Hole Principal chapter, and if i try to break it down into birds and holes i get i think:
500 lines of code would be the pigeons, and 17 would be the holes or categories I think, but what would 30 be?
I just did this it looks like somthing!
if you take 17x30 = 510 which is greater than the (500 lines of code) is this what tells me that no, he wouldn't have to write 30 or more lines of code a certain day?
Again I think I'm not doing this right. The questions asks:
A programmer writes 500 lines of computer code in 17 days. Must there have at least one day when the programmer wrote 30 or more lines of code? why?
Well the first thing that came to mind was to see if he wrote 500 lines of code a day, how much code per day would he write, so I divided it by 17,a nd got 29.4. So if this is the case, then he wouldn't have to write 30 or more lines of code a certain day, because 29.4 < 30.
Again this is in the Pigeon Hole Principal chapter, and if i try to break it down into birds and holes i get i think:
500 lines of code would be the pigeons, and 17 would be the holes or categories I think, but what would 30 be?
I just did this it looks like somthing!
if you take 17x30 = 510 which is greater than the (500 lines of code) is this what tells me that no, he wouldn't have to write 30 or more lines of code a certain day?
Last edited: