Which of the following will count down from 10 to 1 correctly? ( )
A、for (int j = 10; j <= 1; j++)
B、for (int j = 1; j <= 10; j++)
C、for (int j = 10; j > 1; j--)
D、for (int j = 10; j >= 1; j--)
发布时间:2025-01-29 13:03:41
A、for (int j = 10; j <= 1; j++)
B、for (int j = 1; j <= 10; j++)
C、for (int j = 10; j > 1; j--)
D、for (int j = 10; j >= 1; j--)