Professional Documents
Culture Documents
Assignment-1: Analysis and Design of Algorithms (3150703)
Assignment-1: Analysis and Design of Algorithms (3150703)
Question:
Create a program (any language) which you can use to generate sequence of
random numbers of 1,2,3,4,5 and 6 digits. (example
9,99,999,9999,99999,999999) The program should generate random number of
given digit into a file. Create multiple files with 100,1000, 100000 and 10000000
entries of numbers. We will keep the files for future use. in sorting problems.
Submit your code and screenshot of file created.
Code:
package hello;
import java.io.*;
}
OUTPUT: -