Community Profile

# Rashmi Upase

##### Last seen: 26 jours ago
107 total contributions since 2020

View details...

Contributions in
View by

Solved

Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

environ 2 mois ago

Solved

Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

environ 2 mois ago

Solved

Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

environ 2 mois ago

Solved

What percentage?
Calculate the output c as the percentage of a on b for given a and b.

environ 2 mois ago

Solved

only input
Return the output without writing any code into the function.

environ 2 mois ago

Solved

vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

environ 2 mois ago

Solved

Find max prime number
Given integer number n. Find the max prime number (mpn) that smaller than or equal to n. Example: n = 10 --> mpn = 7

environ 2 mois ago

Solved

Given input in radians, output to degrees

environ 2 mois ago

Solved

Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

environ 2 mois ago

Solved

Reverse a matrix
Its simple. You have to reverse a given matrix.

4 mois ago

Solved

Concatenate two strings
Its very easy. Just concatenate two strings.

4 mois ago

Solved

Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

4 mois ago

Solved

Max of a Vector
Write a function to return the max of a vector

4 mois ago

Solved

Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

4 mois ago

Solved

Remove the Zero
Given an array n, remove all zeros

4 mois ago

Solved

If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

4 mois ago

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

4 mois ago

Solved

Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

4 mois ago

Solved

Calculate the sum of two numbers. Example input = [2 3] output = 5

4 mois ago

Solved

y equals x divided by 2
function y = x/2

4 mois ago

Solved

length of a vector
Find twice the length of a given vector.

4 mois ago

Solved

Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

4 mois ago

Solved

Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

4 mois ago

Solved

Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

4 mois ago

Solved

kmph to mps
convert kilometer per hour to meter per second

4 mois ago

Solved

index of n^2 in magic(n)
input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 ...

4 mois ago

Solved

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

4 mois ago

Solved

Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

4 mois ago

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

4 mois ago

Solved

Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

4 mois ago