In the main, continuously ask the user to input a character (one per line) and check if it is letter or a number. If the character is neither a letter or a number, stop asking for inputs.First, create a text file named inputted, txt for the folder namedletters. Write the characters which are letters into this file. Then, create a text file with the same name but inside the folder name numbers. Finally, write the characters which are numbers into the latter text file.
Sample Output 1
Enter a character: a
Enter a character: b
Enter a character: c
Enter a character: 1
Enter a character: 2
Enter a character: 3
Enter a character: .
Sample Output 1
Enter a character: a
Enter a character: b
Enter a character: c
Enter a character: 1
Enter a character: 2
Enter a character: 3
Enter a character: .