Modify your earlier program that found the extension of a filename. This time your program will identify a file name that is no longer that 12 characters and has one of five extensions that you specify (eg: .doc. .py, .html, .txt, .ps). The program should tell the user if the file name is too long and if it has an unacceptable file extension. You are to use ‘and’ and ‘or’ operators in your selection routines.
Dear visitor Unfortunately, the statement of your question is a bit confusing. What program should we modify? Please, give us the details so we could help you