7 of 100 menu

Java Taskbook Level 1.7

Find the sum of all odd integers between 1 and 100.

Write code that will print the first N powers of two.

Three lines are given:

String str1 = "123"; String str2 = "456"; String str3 = "789";

Add the values ​​of these rows as integers.

Given a number:

12345

Turn it over:

54321

Given a number:

12345

Find the sum of the digits of this number.

Given a fractional number containing the number of gigabytes:

float gb = 35.24;

Convert this value to megabytes, kilobytes, and bytes.

enru