A programmer has the capability of thinking 70 lines of code in six minutes and can type 70 lines of code in 12 minutes. He takes a break for six minutes after every 12 minutes. How many lines of codes will he complete writing in 72 minutes?
Assume that he always needs to think before writing any code?
So five times for 6 minutes he types/writes code, total minutes he spends typing the code = 6*5 = 30 minutes
In 12 Minutes he can type 70 lines of code
In 30 minutes he types (70/12)*30 = 175 lines