Risolto


While I am not equal
Iterate by z(input) until not equal to baseline. Output will be equal to number of iterations x = -5 y = 8 z = 3 output = 5

quasi 10 anni fa

Risolto


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

quasi 10 anni fa

Risolto


ADD TWO NUMBERS
To add two numbers a and b, then store in y

quasi 10 anni fa

Risolto


Convert Miles To Kilometers
Given input in miles, output into kilometers

quasi 10 anni fa

Risolto


Money money money
There's a group of men called 5/6. It's like when you borrow $5, you need to pay him $6 Try to code, 5/6 people haha

quasi 10 anni fa

Risolto


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

quasi 10 anni fa

Risolto


Add the odd numbers
Add only the odd numbers of x example: x = [1 2 3 4 5] the positive numbers are: 1 3 5, so their sum is 9

quasi 10 anni fa

Risolto


99 bottels of beer...
(don't know the song? -> <https://en.wikipedia.org/wiki/99_Bottles_of_Beer>) Create the count down vector in y

quasi 10 anni fa

Risolto


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

quasi 10 anni fa

Risolto


Add the even numbers
Add only the even numbers of x example: x = [1 2 3 4 5] the positive numbers are: 2 4, so their sum is 6

quasi 10 anni fa

Risolto


Nth root
Nth root of a number x

quasi 10 anni fa

Risolto


solve it
sum of cubes

quasi 10 anni fa

Risolto


sole it
sum of suqrae

quasi 10 anni fa

Risolto


solve it
sum of odd numbers

quasi 10 anni fa

Risolto


solve it
sum of even numbers

quasi 10 anni fa

Risolto


jaya kumar
area of traingle

quasi 10 anni fa

Risolto


jaya kumar
area of square

quasi 10 anni fa

Risolto


jaya kumar
speed of car

quasi 10 anni fa

Risolto


jaya kumar
area of circle

quasi 10 anni fa

Risolto


jaya kumar
area of rectangle

quasi 10 anni fa

Risolto


Calculate the logarithm of number
Calculate the logarithm of number x

quasi 10 anni fa

Risolto


find whether it is prime or not
For a given number find if its prime

quasi 10 anni fa

Risolto


Writing a function: MaxValue()
Write a local function named MaxValue that returns the maximum of two inputs numA and numB.

quasi 10 anni fa

Risolto


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

quasi 10 anni fa

Risolto


Your favourite city!
Type your favourite city.

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

quasi 10 anni fa

Risolto


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

quasi 10 anni fa

Risolto


Square root of a number
Write a code that will output the square root of x.

quasi 10 anni fa

Carica altro