From 8bb6157849d8d83c7ee6c80dab67be1e607aa40f Mon Sep 17 00:00:00 2001 From: Tomas Norre Mikkelsen Date: Tue, 28 Jan 2025 14:15:42 +0100 Subject: [PATCH 1/2] Update cars-assemble tasks description --- exercises/concept/cars-assemble/.docs/instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/cars-assemble/.docs/instructions.md b/exercises/concept/cars-assemble/.docs/instructions.md index a01a68726..9010ac063 100644 --- a/exercises/concept/cars-assemble/.docs/instructions.md +++ b/exercises/concept/cars-assemble/.docs/instructions.md @@ -20,7 +20,7 @@ CarsAssemble.productionRatePerHour(6) // => 1193.4 ``` -Note that the value returned is a `double`. +Note that the value returned is a `double`. You will need to take the success rate into account to get the correct result. ## 2. Calculate the number of working items produced per minute From 92c6ac20de21aee2ef0f92506e4df80fab620b8e Mon Sep 17 00:00:00 2001 From: Tomas Norre Mikkelsen Date: Wed, 29 Jan 2025 06:43:15 +0100 Subject: [PATCH 2/2] update after feedback --- exercises/concept/cars-assemble/.docs/instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/cars-assemble/.docs/instructions.md b/exercises/concept/cars-assemble/.docs/instructions.md index 9010ac063..5ad3ea97f 100644 --- a/exercises/concept/cars-assemble/.docs/instructions.md +++ b/exercises/concept/cars-assemble/.docs/instructions.md @@ -13,14 +13,14 @@ You have two tasks. ## 1. Calculate the production rate per hour -Implement the `CarsAssemble.productionRatePerHour()` method to calculate the assembly line's production rate per hour, taking into account its current assembly line's speed : +Implement the `CarsAssemble.productionRatePerHour()` method to calculate the assembly line's production rate per hour, taking into account its current assembly line's speed and success rate: ```Java CarsAssemble.productionRatePerHour(6) // => 1193.4 ``` -Note that the value returned is a `double`. You will need to take the success rate into account to get the correct result. +Note that the value returned is a `double`. ## 2. Calculate the number of working items produced per minute