I have to create a palindrome program that uses input and output files. I have to read in 30 names out of the 30 names 4 has to be palindrome and they must begin with the letter J(make up anything). I then have to put the names in order. I must check to see if the name is palindrome or not and if it is print the name.Here is part of the program, can someone help me please!
#include <iostream>
#include <string>
#include <fstream>