Why isn't my code producing a random sequence of numbers between 1 and N? No file is produced. What is the error in my code? What am I doing wrong?
问题 The goal of the program is to generate a random sequence of numbers between 1 and N, where N is passed as an argument to the program, and write the resulting sequence to a file. My file isn't produced. What am I doing wrong? Are there any errors in my code? Is there something wrong with my code? Am I outputting the file correctly? /*01*/ // /*02*/ // random_sequence_v6.c /*03*/ // Generate a random sequence of all numbers between 1 to N /*04*/ // /*05*/ #include "stdio.h" /*06*/ #include