Question: Programming challenge description: The sentence A quick brown fox jumps over the lazy dog contains every single letter in the English alphabet. Such sentences are

Programming challenge description:

The sentence "A quick brown fox jumps over the lazy dog" contains every single letter in the English alphabet. Such sentences are called pangrams. You are to write a program which takes a sentence and outputs all the letters it is missing which prevent it from being a pangram. You should ignore the case of the letters in the input sentence, and your output should be all lowercase letters in alphabetical order. You should also ignore all non US-ASCII characters. In case the input sentence is already a pangram, output the string NULL.

Input:

Your program should read lines of text from standard input. Each line contains a sentence.

Output:

For each line of input, print to standard output all the letters it is missing, in lowercase, sorted in alphabetical order. If there are no missing letters, print the string NULL.

Test 1

Test InputDownload Test 1 Input

A quick brown fox jumps over the lazy dog

Expected OutputDownload Test 1 Input

NULL

Test 2

Test InputDownload Test 2 Input

A slow yellow fox crawls under the proactive dog

Expected OutputDownload Test 2 Input

bjkmqz

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!