You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some errors and some stuff missing
In the Message Formatting Section, the values in the exercise are 5000 and 1000 but in the Code Solution the values shows as 500 and 100.
In the Implement basic math operations section, in step 2 you ask several things
Create an add() function that accepts a firstNumber parameter, secondNumber parameter and thirdNumber parameter, all of Int type, and returns an Int value.
add the values of firstNumber and secondNumber
add the values of firstNumber and thirdNumber
return the result of both operations in the following format firstNumber + secondNumber = result and
firstNumber + thirdNumber=result (ex. 10 + 5 = 15)
add a subtract function using the add function as a template.
On the Code Solution section for this task on step 2 the solution is incomplete it only shows this:
fun add(firstNumber: Int, secondNumber: Int): Int {
return firstNumber + secondNumber
}
as a solution, it doesn't shows what code to add on the main function or how to return both addition operations that were asked (firstNumber + secondNumber and firstNumber + thirdNumber) in the format asked: 10+5=15. If I'm not mistaken the given solution will only print the result number. Also it doesn't show the subtract solution.
The text was updated successfully, but these errors were encountered:
@YaerQ
The issues that you presented to us are extremely important, and I thank you for bringing it to our attention. The actions were taken to fix and clarify the content in the Solution code section:
URL of codelab
Task 12 Solution Code
There are some errors and some stuff missing
In the Message Formatting Section, the values in the exercise are 5000 and 1000 but in the Code Solution the values shows as 500 and 100.
In the Implement basic math operations section, in step 2 you ask several things
firstNumber + thirdNumber=result (ex. 10 + 5 = 15)
On the Code Solution section for this task on step 2 the solution is incomplete it only shows this:
as a solution, it doesn't shows what code to add on the main function or how to return both addition operations that were asked (firstNumber + secondNumber and firstNumber + thirdNumber) in the format asked: 10+5=15. If I'm not mistaken the given solution will only print the result number. Also it doesn't show the subtract solution.
The text was updated successfully, but these errors were encountered: