To convert a floating-point random number to an integer, use the int() function. Examples. Copy for (int i = ...
確定! 回上一頁