Menu
CoddyTech

15. 检查全字母句

Coddy 30 天 C++ 逻辑思维训练 课程的第 16 课,共 31 课。

challenge icon

挑战

简单

编写一个函数,检查一个句子是否是全字母句 (包含字母表中的每个字母)。

  • 输入: "The quick brown fox jumps over the lazy dog"
  • 输出: true

亲手试试

#include <string>
using namespace std;

bool isPangram(string sentence) {
    // 在这里编写代码
}

30 天 C++ 逻辑思维训练中的所有课

自己练习: C++ 在线编译器