解決済み

Divisible by 14

Write a function to determine if a number is divisible by 14. If a number is <http://www.mathworks.com/matlabcentral/cody/proble...

6ヶ月 前

解決済み

Divisible by 13

Write a function to determine if a number is divisible by 13. Similar to the number seven, this can be done by a few different m...

6ヶ月 前

解決済み

Divisible by 12

Write a function to determine if a number is divisible by 12. Similar to the number six, this can be done by checking for divisi...

6ヶ月 前

解決済み

Divisible by 11

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

6ヶ月 前

解決済み

Divisible by 10

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

6ヶ月 前

解決済み

Divisible by 9

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

6ヶ月 前

解決済み

Divisible by 8

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

6ヶ月 前

解決済み

Divisible by 7

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

6ヶ月 前

解決済み

Divisible by 6

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

6ヶ月 前

解決済み

Divisible by 5

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

6ヶ月 前

解決済み

Divisible by 4

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

6ヶ月 前

解決済み

Divisible by 3

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

6ヶ月 前

解決済み

Divisible by 2

This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

6ヶ月 前

解決済み

Integer Sequence - 1

Check the test suite to determine the relationship between input integer scalar and output integer scalar.

6ヶ月 前

解決済み

Beginner's Problem - Squaring

Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

6ヶ月 前

解決済み

Make one big string out of two smaller strings

If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

6ヶ月 前

解決済み

Increment a number, given its digits

Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

6ヶ月 前

解決済み

multiply by three

Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

6ヶ月 前

解決済み

Find out value of sine given by degree.

Find out value of sine given by degree. If theta=30, it's value must be 0.5.

6ヶ月 前

解決済み

Divide by 4

Given the variable x as your input, divide it by four and put the result in y.

6ヶ月 前

解決済み

Number of digits in an integer

Specifies how many digits in a given integer. Example: in=100 ==> out=3

6ヶ月 前

解決済み

Find the area of a triangle

Given a triangle with a base b and height h, return the triangle area.

6ヶ月 前

解決済み

Add 3 numbers

In this problem, you have to add three numbers a, b and c. Give output d = add(a,b,c)

6ヶ月 前

解決済み

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6ヶ月 前

解決済み

Find the nearest prime number

Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

6ヶ月 前