top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

    Get Free Puzzle Updates

Facebook Login
Site Registration

How many lines of codes will he complete writing in 72 minutes?

+1 vote
54 views

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.

posted Mar 11 by Basabdatta Mukherjee

Share this puzzle
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

175 lines


In 6 min blocks it will look like this:
Think 70 >> Write 35 >> Rest >> Write 35 >> Think 70 >> Rest >> Write 35 >> Write 35 >> Rest >> Think 70 >> Write 35 >> Rest
From above he managed to complete writing of 175 code lines

answer Mar 12 by Hanifa Mammadov



Similar Puzzles
0 votes

Akshay ate 72 bananas in six days, each day eating 4 more than the previous day.
How many bananas did he eat on the third day?

+1 vote

You have accidentally left out the plug and are attempting to fill the bath with both 2 taps full on. The hot tap takes 6 minutes to fill the bath, the cold tap takes 4 minutes, and the water empties through the plug hole in 12 minutes.

In how many minutes will the bath be filled?

0 votes

Two vehicles set off from the same point, at the same time, to travel the same 165 km journey.

One of the vehicles travels at 45 kmph and the other one travels at 35 kmph.

How many minutes will there be between the arrival times of the two vehicles?

0 votes

Car A and car B set off from the same point, at the same time, to travel the same 115 mile journey.

Car A travels at 55 mph and car B travels at 35 mph.

How many minutes will there be between the arrival times of the two cars?

+1 vote

A motorcycle and a car set off from the same point, at the same time, to travel the same journey.

The motorcycle travels at 55 mph and the car travels at 45 mph.

If the journey is 35 miles, how many minutes will there be between the arrival times of the two vehicles?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...