a computer programmer writes an average of 40 lines of code per hour. the programmer has 6 projects and…

a computer programmer writes an average of 40 lines of code per hour. the programmer has 6 projects and takes 2 hours to write the code for each project. how many total lines of code did the programmer write?\na 120\nb 240\nc 320\nd 480

a computer programmer writes an average of 40 lines of code per hour. the programmer has 6 projects and takes 2 hours to write the code for each project. how many total lines of code did the programmer write?\na 120\nb 240\nc 320\nd 480

Answer

Explanation:

Step1: Calculate lines per project

Since the programmer writes 40 lines per hour and takes 2 hours per project, the number of lines per project is the product of lines per hour and hours per project. $40\times2 = 80$

Step2: Calculate total lines for all projects

The programmer has 6 projects. Multiply the lines per project by the number of projects. $80\times6=480$

Answer:

D. 480