1: Sequence

1.1 Hours to Minutes

Coding Exercise: Hours to Minutes
Given the number of hours and minutes. Convert that into minutes.
You may enter input for the program in the box below.

1.2 Days to hours, minutes, seconds

Coding Exercise: Days to hours, minutes, seconds
Given the number of days (1 day has 24 hours). Write a program to calculate the number of hours, the number of minutes and the number of seconds the given number of days.
You may enter input for the program in the box below.

1.3 Removing middle digit

Coding Exercise: Removing middle digit
Given a 3 digit number. Write a program to remove the middle digit, i.e. to output 2 digit number. For example, if the given number is 368, the output should be 38.
You may enter input for the program in the box below.

1.4 Product of middle digits

Coding Exercise: Product of middle digits
Given two three digit integer numbers. Write a program to calculate the product of the middle digits of both numbers. For example, if the given integers are 128 and 845, the output should be equal to 8, because 2*4 = 8.
You may enter input for the program in the box below.

1.5 Challenge with 5 digit number

Coding Exercise: Challenge with 5 digit number
Given an integer number consisting of 5 digits. Write a program, that calculates 3 following numbers:
a. Swaps the second and the last digits
b. Removes three middle digits
c. Calculates the sum of squares of all the digits
For example, if the given number is equal to 54208, then your program should output:
58204
58
109
You may enter input for the program in the box below.