13.8k views
3 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? A) 7 days B) 8 days C) 9 days D) 10 days

User Rober
by
8.3k points

2 Answers

5 votes

Final answer:

Grace will finish writing the code in 7 days.

Step-by-step explanation:

To find out how long it would take Grace to finish writing the code for her program, we need to subtract the number of unusable lines from the total lines she writes per day. Grace writes 10 lines of code per day, but 3 lines are not usable. So, she is left with 10 - 3 = 7 usable lines per day. To determine how many days it will take her to finish writing the code, we need to divide the total number of lines by the number of usable lines per day. If Grace has to write n lines of code in total, it will take her n / 7 days to finish the code.

Therefore, the correct option is A) 7 days.

User Steve French
by
7.7k points
2 votes

Final answer:

Without the total number of lines required for Grace's program, it is impossible to calculate the number of days needed for her to complete her work.

Step-by-step explanation:

The question does not provide the total number of lines of code needed for the program, making it impossible to determine how many days it will take for Grace to finish. Assuming Grace can write 10 lines per day but ends up with 3 unusable lines, she effectively writes 7 usable lines of code each day (10 lines written - 3 lines unusable = 7 lines usable).

However, without knowing the total lines required for the complete program, we cannot calculate the exact number of days needed for her to finish.

User Mark Vieira
by
7.3k points