- According to age, to print the current age of the person is a juvenile (under 18), youth (19-28), middle-aged (29-55), elderly (56 or more)
- It determines whether a number is a prime number
- Printing 1 - All primes between 100
- 1000 is output - All the leap year between 2000
- The output of the multiplication tables
- Seeking the greatest common divisor of two positive integers
- Value 1/100 - A 1 / 1-1 / 2 + 1 / 3-1 / 4 + 1 / + 5 ...... 1/99 calculation.
Java conditional and looping practice
Guess you like
Origin blog.csdn.net/weixin_44945537/article/details/100813346
Ranking