Fortune Telling Collection - Comprehensive fortune-telling - Comma fortune-telling program _ What is a comma fortune-telling program?

Comma fortune-telling program _ What is a comma fortune-telling program?

Comma fortune teller

1. First, define an includedStart of type int, starting with the number (inclusive), as shown in the following figure.

2. When defining the exclusive end of int type, the end number (excluding).

3、int[]range = array util . range(included start,excluded end); //Generate a list of numbers, as shown in the figure below.

4. Run the program to view the result array, as shown in the figure below.