Question: Write two functions that perform file output. File1(num) takes an integer as a parameter. It will write to a file the values 1 to that

Write two functions that perform file output. File1(num) takes an integer as a parameter. It will write to a file the values 1 to that integer (inclusive) to a file each number on a separate line. # Insert answer here File2(num) takes an integer as a parameter. It will write to a file the values 0 to that integer (exclusive) to a file with all numbers on the same line and numbers will be separated by a comma. # Insert answer here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
