站内搜索: 请输入搜索关键词

当前页面: JAVA 编程资料牛鼻论坛Java & J2SE 技术区→java 编程问题,英文的,帮忙解决一下,谢谢!

java 编程问题,英文的,帮忙解决一下,谢谢!

发表新主题   回复此主题

第1楼 2007-04-09 18:56 fzdeney 写道:

java 编程问题,英文的,帮忙解决一下,谢谢!


Write a program that starts with the string variable first set to your first name and the string variable last set to your last name. both names should be all lowercase. Your program should then create a new string that contains your full name in pig latin with the first letter capitalized for the first and last name. use only the pig latin rule of moving the first letter to the end of the word and adding “ay”. Output the pig latin name to the screen. Use the substring and toUpperCase method to construct the new name.
For example,given
First=”walt”;
Last=”savitch”;
The program should create a new string with the text “Altway Avitchsay” and print it.

第2楼 2013-08-31 12:44 Robot :

java 编程问题,英文的,帮忙解决一下,谢谢! 相关


第3楼 2007-04-10 12:52 写道:

你的问题应该到专业网站去问!

祝好运~


发表新主题   回复此主题