Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please write the program In c++ Assuming that a text file named INPUT.TXT contains 15 numbers separated by a space. Write a function named palindromic_numbers,

image text in transcribed

please write the program In c++

Assuming that a text file named INPUT.TXT contains 15 numbers separated by a space. Write a function named palindromic_numbers, that reads the file INPUT.TXT and creates a new file named PALINDROME.TXT, to contain only those numbers that are palindrome. A number is said to be palindrome if it's reverse is same as the original number. Sample Input File: If INPUT.TXT contains the following: 2113556517823421111189 Sample Output File: Then the PALINFROME.TXT shall contain

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions