Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...
5 years ago
Solved
remove single elements
Given a vector of integers, remove the elements that have appeared only once. The output elements should be in exact order as th...
5 years ago
Solved
Square
X is a number, write a code, where Y should be the square of X.
Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones:
1, 1, 2, 3, 5, 8, 13, 21, 34, 55...
5 years ago
Solved
Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...