搜索资源列表
pincheck
- 以命令提示符窗口的形式运行,运行后你可以根据提示输入一段英文字母,本程序会检查你输入的单词拼写是否正确,暂时只支持英文单词的检查,不支持中文拼写检查。-In the form of the command prompt window to run, you can run after prompted some letters of the alphabet, the program will check whether you have entered the correct spelling
Judgment_palindrome
- 编写一个函数palin()用来检查一个字符串是否正向拼写与反向拼写都一样的“回文”(palindromia)。如“MADAM”就是一个回文。若放宽要求,即忽略大小写字母的区别、忽略空格及标点符号等,则像“Madam,I m Adam.”之类的短语也可视为回文。编程要求:⑴在主函数中输入字符串。⑵将字符串首指针作为函数参数传递到函数palin()中。当字符串是回文时,要求函数palin()返回1,否则返回0。⑶若是回文,在主函数中输出"Yes.";若不是回文,在主函数中输出"No."。 提示: