Question: Problem 1: Develop a C program that reads integers from a file called numbers.txt and prints the oblong numbers on file oblong.txt. A number is
Problem 1: Develop a C program that reads integers from a file called numbers.txt and prints the oblong numbers on file oblong.txt. A number is called oblong or pronic if it is the product of two consecutive integers. E.g. 30 - 5x6 is an oblong number. Sample Output: Input file: 29 12 17 25 30 40 72 78 90 Output to oblong.txt: 2 12 30 72 90
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
