将字符串"I am super star"倒序输出,即为"star super am I"
收起
用Java的话……直接用String的split方法…参数为空格…得到一个字符串数组…接着遍历…从后往前遍历即可…
报告相同问题?