k**8 发帖数: 186 | 1 两部分
1. 介绍一种新语言,给你说语法,让你做逻辑题,n选1。不难,但要细心。20道题,
一个小时好像。
2. 四个编程题。解决实际问题那种,不是纯数据结构/算法类型的题。举个例子:
Work on a string manage program. Two rules in the program:
1. case of all (a,e,i,o,u) in a string will be toggled, converting uppercase
to lowercase and vice versa. 2. all consonants will be converted to lower
case if the character is not at the end of a word, but all consonants at the
end of the words will be converted to uppercase. Words in a string are
delimited by spaces. Prompt the user for a string and apply the vowel and
consonant rules to the string.Print the result. Example, the user generated
string "MaKE honey In hlvES" result in "mAke hOnEY iN hiveS".
继续下面的战斗~~给自己打气~加油加油 |
|