Can someone help me with the codes in C language.this is the problem:
create a program that will display the factors of a given number.the input must read from a text file and consist of one or more lines,each line contains a number.
Sample input from a text file:
6
5
10
20
the factors of a given number should separated by a space per line.if the number has no factor,print out NO FACTOR.
Sample output:
2 3
NO FACTOR
2 5
2 4 5 10
THankz in advance...