Java Taskbook Level 10.2

Задание 1

Given two numbers, display the process of finding the GCD, as in school.

Задание 2

Two numbers are divided by each other, the result is a periodic fraction. Write a code that will determine the period of this fraction.

Задание 3

Ask the user for an integer. In response, output the factorization of that number.

Задание 4

Ask the user for two integers. In response, output an array of all prime numbers in the range specified by the entered values.