41.5k views
4 votes
Grace tries to speed up her work and write 10 lines of code per day. but every day she ends up with 3 lines of code that are not usable. how long would it take her to finish writing the code for her program at this pace?

Option 1: 7 days
Option 2: 8 days
Option 3: 9 days
Option 4: 10 days

User Jerry Meng
by
8.3k points

1 Answer

0 votes

Final answer:

Grace writes 10 lines of code a day but has 3 unusable lines, leaving her with 7 usable lines daily. Without knowing the total lines needed for the program, we cannot accurately determine how many days it will take her to finish.

Step-by-step explanation:

Grace is attempting to speed up her work by writing 10 lines of code per day. However, she ends up with 3 unusable lines each day. To find out how long it will take her to finish the coding for her program, we must calculate the net number of usable lines of code she produces each day and then determine how many such days she requires to complete her program.

We start by subtracting the unusable lines from the total amount she writes each day:

  • Total lines written per day: 10 lines
  • Unusable lines per day: 3 lines
  • Usable lines of code per day: 10 - 3 = 7 lines

Without information on the total number of lines needed for the program, we cannot determine the exact number of days required. Assuming the program requires a specific number of lines, you would divide that number by 7 to find the number of days needed, rounding up to the nearest whole day since Grace cannot write a fraction of a line of code. In this case, the options given are 7, 8, 9, and 10 days but without the total number of lines needed for the code, we cannot select the correct option.

User Uniruddh
by
8.1k points