文件名称:4_1string
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
使用String类提供的函数,实现以下步骤:
(1) 用户从键盘输入两句英文句子。
(2) 把这两个句子连起来。
(3) 去掉句子里的非字母字符,并把这个句子反过来打印。
例如从键盘输入两句子:“Hi,my classmates”和 “How are you?”
最后打印结果应该为:uoyerawoHsetamssalcymiH
-Use String class provides functions to achieve the following steps: (1) user input from the keyboard a few words in English sentences. (2) to link these two sentences. (3) remove the sentence of non-alphabetic characters, and to print this sentence in turn. For example, two children from the keyboard: " Hi, my classmates" and " How are you?" Finally, print the results should be: uoyerawoHsetamssalcymiH
(1) 用户从键盘输入两句英文句子。
(2) 把这两个句子连起来。
(3) 去掉句子里的非字母字符,并把这个句子反过来打印。
例如从键盘输入两句子:“Hi,my classmates”和 “How are you?”
最后打印结果应该为:uoyerawoHsetamssalcymiH
-Use String class provides functions to achieve the following steps: (1) user input from the keyboard a few words in English sentences. (2) to link these two sentences. (3) remove the sentence of non-alphabetic characters, and to print this sentence in turn. For example, two children from the keyboard: " Hi, my classmates" and " How are you?" Finally, print the results should be: uoyerawoHsetamssalcymiH
(系统自动生成,下载前可以参看下载内容)
下载文件列表
4_1string.cpp