To generate a random number either 1 or 2, you can use the following code: C. Copy Code. #include <stdlib.h> int random_number = (rand() ...
確定! 回上一頁