Are there useful programs that don't take inputs from a user, environment etc. such as key input, or the current time?
A program that computed/printed out predefined data could be turned into a file, right?
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It only takes a minute to sign up.
Sign up to join this community
for i = 1 to infty { print i-th prime }
qualify? $\endgroup$