Question: from an input text file it's input from any text file!! write the body with no data set strings are from the languages given. Problem
Problem 5 (30): Write a program (C++, C#, Java, Python) that parses a file and for each string it finds (strings are separated by whitespace) outputs the string and which of the above languages it is a member of. If the string is not a member of any, then it outputs 'none'. For organizational reasons, make a boolean function for each of the languages. Please provide appropriate and helpful comments. Example Run: File: test.txt Abcde: Id aAa9: Id 3422222: Num ;: Semicolon wHile: Id while: Id, While &&: And Seo: none &: none ;asdf: none
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
