Menu
Coddy logo textTech

15. Check Pangram

Lesson 16 of 31 in Coddy's 30 Days of Logic Building in C++ course.

challenge icon

Challenge

Easy

Write a function to check if a sentence is a pangram (contains every letter of the alphabet).

  • Input: "The quick brown fox jumps over the lazy dog"
  • Output: true

Try it yourself

#include <string>
using namespace std;

bool isPangram(string sentence) {
    // Write code here
}

All lessons in 30 Days of Logic Building in C++

Practice on your own: Online C++ compiler