Question: Question #1 The following program (in the next page) reads integer numbers from a file named numbers.txt. For each number, the program computes the reverse

Question #1 The following program (in the next page) reads integer numbers from a file named numbers.txt. For each number, the program computes the reverse in order to check whether the number is a palindrome number or not. It then reports the results into a file named Report.txt (4 palindrome is any number whose reverse is also same. eg. 1221.23432, 7, 8 are palindromes, but 23489 is not). Suppose the file numbers.txt contains the following numbers: 2542 13831 303 55 3324 numbers.txt Study the program carefully and answer the below questions: Hint: you might run the program before starting answering the questions! a) Show the output of the program. Assume that the file numbers.txt contains the data shown above #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
