Solved

Four digit number ABCD reversal
write a MATLAB function to find the four-digit number ABCD when multiplied by 4 returns DCBA. The function takes an input x=4.

6 days ago

Solved

Draw Letter 'L'

7 days ago

Solved

Do you have the minimum age?

9 days ago

Solved

Digits Multiplication
Your function should calculate the product of the digits of a positive given integer excluding any zeroes. Example: the result ...

9 days ago

Solved

End Digits

9 days ago

Solved

Min-Max digit

9 days ago

Solved

Highest building

9 days ago

Solved

Similar triangles

9 days ago

Solved

Sum of all the divisors of n

11 days ago

Solved

Flip coins

12 days ago

Solved

Make the first letter of a sentence Capital.
In this problem you will be given a string of 2 or 3 lines. Your work is to make the first letters of every line Capital. You wi...

12 days ago

Solved

Eliminate redundant numbers in text
Occasionally someone might write text such as Briefly explain one (1) common problem that can result from the constant use of ...

12 days ago

Solved

Count unique orderings of vertices of a polygon
Cody Problem 2671 asks us to determine whether four points can be the corners of a rectangle. The points are not necessarily inp...

12 days ago

Solved

Determine the average number of rounds for the following game.
Each round a uniformly distributed random number is picked between 0 and 1. The game ends when the sum of the random numbers is ...

13 days ago

Solved

Right shift an array n times with constant space.
Right shift an array n times with constant space, that is, no extra array can be used. Right shift operation: Last element com...

13 days ago