求一段英文的大写字母(A-Z)与小写字母(a-z)的个数,然后将所有的大小字符转换成小写字符
要求:1)语段如下
A total of three binary tropical cyclone (TC) cases over the Western NorthPacific are selected to investigate the effects of satellite radiance dataassimilation on analyses and forecasts of binary TCs. Two parallel cyclingexperiments with a 6 h interval are performed for each binary TC case, and thedifference between the two experiments is whether satellite radianceobservations are assimilated. Satellite radiance observations are assimilatedusing the Weather Research and Forecasting Data Assimilation (WRFDA)'s three-dimensionalvariational (3D-Var) system, which includes the observation operator, qualitycontrol procedures, and bias correction algorithm for radiance observations.
2)、编写函数统计其中的大写字符
3)、编写子例行程序统计其中的小写字符
4)、编写子例行程序完成将所有的大小字符转换成小写字符
4)、将上述函数与子例行程序封装在一个 名为strsta的模块化中
5)、主程序中输入上述语段然后使用模块,并将最终结果输出到一个文件名为out.dat的文件中
|