【问题描述】已经存在一个文本文件1.txt,其中存放了一些英文单词。文件2中存放了英文文章,将文件1中的每个英文单词在文件2中进行查找,统计该单词个数,不区分大小写。将查找结果写入文件3.txt中。
【输入形式】从文件1.txt中读入信息。
【输出形式】把查找结果输出到3.txt文件中。
【样例输入】
文件1.txt的内容:
is
doing
文件2.txt的内容:
Whatever is worth doing is worth doing well. Happiness is a way station between too much and too little. In love folly is always sweet.
【样例输出】
文件3.txt的内容:空格分开
is 4
doing 2