Solved


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

1 year ago

Solved


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

1 year ago

Solved


Interior angles
Find the sum of interior angles for polygon of x sides.

1 year ago

Solved


prime test 2
enter the only non prime,non composite number

1 year ago

Solved


prime test
find largest 2 digit prime number

1 year ago

Solved


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

1 year ago

Solved


cube of number
find cube of number

1 year ago

Solved


square of a number
find square of a given number

1 year ago

Solved


Square
square root of x

1 year ago

Solved


easy problem
Find the last element of the array

1 year ago

Solved


PIN code III

1 year ago

Solved


PIN code II

1 year ago

Solved


square root
Find square root of given number

1 year ago

Solved


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

1 year ago

Solved


Remove the positive integers.
Given array x (of integers), remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -...

1 year ago

Solved


Sum of integers numbers
Sum of the numbers from 1 to 100

1 year ago

Solved


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

1 year ago

Solved


ascii value
let input='a' output=97

1 year ago

Solved


execute the declaration in strings and return value
execute the commands in strings and return value input='a=23' output=23

1 year ago

Solved


union without repitition
Let a = [9 9 9 9 9 9 8 8 8 8 7 7 7 6 6 6 5 5 4 2 1] b = [1 1 1 3 3 3 3 3 4 4 4 4 4 10 10 10] Output should be [9 8...

1 year ago

Solved


reverse string
input='rama' output='amar'

1 year ago

Solved


angle in regular polygon
Make a function which returns measure of interior angle in x-side regular polygon. x is as input. Please pay attention, that 1 ...

1 year ago

Solved


Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

1 year ago

Solved


Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

1 year ago

Solved


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

1 year ago

Solved


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

1 year ago

Solved


Perimeter of a Triangle

1 year ago

Solved


Surface area of a cone

1 year ago

Solved


Surface area of a sphere
Given the radius of a sphere, find it's Surface area

1 year ago

Solved


find the value

1 year ago

Load more