java编程 字符流和字符流输入/输出编程

来源:百度知道 编辑:UC知道 时间:2024/06/18 06:16:38
有纯文件“Early-Precaution.txt”:
There was an American couple who had no children, so they wanted to adopt a child. Finally, an orphanage contacted them, saying, "We have a baby for adoption.It's a Russian orphan." The couple was delighted and went to bring the baby home.
On the way home, they stopped by a university to enroll in a Russian course. "Why do you want to learn Russian? The English that we speak is a very good language," the university secretary asked."Well, we just adopted a Russian baby. When he begins to speak Russian in a few years, we are afraid that we might not be able to understand him," the couple replied.

(1)计算这篇短文的字符数(含空白)共有多少?
(2)若不含空白,这篇短文共有多少个字符?
(3)统计这篇短文的单词数。
(4)统计这篇短文用了多少个单词“to”。
(5)试计算这篇短文中,元音a,e,i,o,u的字符数各多少?
(6)将这篇短文内所有大写字母改成小写,并将更改后的短文写到纯文本文件”joke.txt” 里。

搞什么飞机 一道题里这么多小题

什么意思?没懂!
写程序?晕。。。看来你是想直接用30分换程序啊?我认为没有人会写的,你找找有没有现成的吧。
但这种小程序也就是几分钟的事吧?自己写吧

知道了 告诉我一声啊 我也想学Java的 希望您早日知道