Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Wrong design of pseudocode -
Set index = search_array(name, full_names, 10)
'10' should not be a constant here
The following section of code is not correct:
x_print(output_volume(5.0, calculate_volume(5.0)))
x_print(output_volume("10.0", calculate_volume("10.0")))
x_print(output_volume(15, calculate_volume(15)))
In order to pass the tests the section should read as follows:
output_volume(15.3, calculate_volume(15.3))
output_volume("30.0", calculate_volume("30.0"))
output_volume(15, calculate_volume(15))
There are no default tests
There are no default Tests
No test cases! Please include some for easier testing of program.
Needs test cases and examples
Test cases do not work
Directions not clear. Spelling error. No test cases.
It would be good to describe in more details input values/ranges.
The test case is not correct
Details are not clear about the use of Math.random()
The line
"if the list is between 3 and 4 elements, add as many elements as there is."
should read:
"if the list is between 2 and 4 elements, add as many elements as there is."