27 of 100 menu

Java Taskbook Level 3.7

Given a string, capitalize the last letter of each word in this string.

Given a string, check that this string consists of only even digits.

Given an array of fractions:

float[] arr = [1.456, 2.125, 3.32, 4.1, 5.34];

Round these fractions to one decimal place.

Given are integers separated by commas:

String str = "12,34,56";

Find the sum of these numbers.

Given a certain number, for example, this one:

int num = 123789;

Remove all odd digits from this number. In our case, we get the following result:

28
enru