Problem H: 【综合程序设计】实验4-8 文件 字符串读写

Problem H: 【综合程序设计】实验4-8 文件 字符串读写

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1299  Solved: 719
[Submit] [Status] [Web Board] [Creator:]

Description

将三个字符串"apple","grape","pear"写入到磁盘文件f2.txt中,然后再从该文件中读出,显示到屏幕。

Input

三行,每行一个字符串

Output

三行,每行一个字符串

Sample Input Copy

apple
grape
pear

Sample Output Copy

apple
grape
pear