Write an algorithm to delete vowels from a string.
Given a string. You need to delete vowels of this string and return string.
Example
If string is "codela", return must be "cdl".
Problem
Given an array. You need to sort the integers in array with selection sort. And return them in an array.
Selection sort program for selection sort to sort numbers. Selection sort algorithm ...
Problem
Culculate area of equilateral triangle. And return the area with float.(2 digits after point.)
Properties of Equilateral Triangle :
Equilateral triangle is a triangle in which all thre ...
Yavuz loves to play basketball. Also he is interested in with math and sometimes he produces
little funny mathematic games. Yavuz has written a program which finds out if number N is an
Emirp number ...
Write a recursive function that calculates product of two number with only summation.
Note: Inputs will ve ALWAYS positive numbers. You don't need to check if it is negative.
The function will receive an array and a K value. The function will find the pair numbers those sum equal to K value, and returns them as String.
Example
[9, 6, 5, 7, 1, 3, 2, 4, 10, 8] K=16 returns ...
Write a function that tracks how much calorie the user burns in total in a day and reports if daily target is reached. If sum of inputs are 500 or over than 500, the function returns "Target is reach ...
A cyclic number is an integer n digits in length which, when multiplied by any integer from 1 to n, yields a"cycle"of the digits of the original number. That is, if you consider the number after the ...
From among n people, numbered 1, 2, . . ., n, standing in circle every mth is going to be executed and only the life of the last remaining person will be saved. Joseph was smart enough to choose the ...