Team Emertxe
Strings and Storage
Classes
Assignment 11
Assignment 11
Assignment 11
WAP to check given string is Pangram or not
Assignment 11
WAP to check given string is Pangram or not
Input:
Assignment 11
WAP to check given string is Pangram or not
Input: Read the String from user (use selective scanf)
Assignment 11
WAP to check given string is Pangram or not
Input: Read the String from user (use selective scanf)
Output:
Assignment 11
WAP to check given string is Pangram or not
Input: Read the String from user (use selective scanf)
Output: Print whether the entered string is Pangram or
not.
Assignment 11
What is Pangram String?
Assignment 11
What is Pangram String?
 A Sentence containing all 26 letters of the English alphabet.
Assignment 11
What is Pangram String?
 A Sentence containing all 26 letters of the English alphabet.
 Example: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
Assignment 11
Example’s:
 Input: The quick brown fox jumps over the lazy dog
Output: The Entered String is a Pangram String.
Assignment 11
Example’s:
 Step 1: Create an array of size 26.
 arr[26] = {0}
Assignment 11
Example’s:
 Step 1: Create an array of size 26.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Assignment 11
Example’s:
 Step 2: Check each character of the input string.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 1 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 1 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 0 0 1 1 0 1 0 0 0 1 0 1 1 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 0 0 1 1 0 1 0 0 0 1 0 1 1 0 1 1 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 0 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 0 1 1 0 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 4: Check all the array elements are equal to 1.
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 4: Check all the array elements are equal to 1.
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Here, all the array elements are 1, so, entered string is a
Pangram string.
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Input: Hello World
Output: The Entered string is not a Pangram String.
Assignment 11
Example’s:
 Step 1: Create an array of size 26.
 arr[26] = {0}
Assignment 11
Example’s:
 Step 1: Create an array of size 26.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Assignment 11
Example’s:
 Step 2: Check each character of the input string.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 1 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 4: Check all the array elements are equal to 1.
0 0 0 1 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Here, all the array elements are not 0, so, entered string is not
a Pangram string.
 Input: Hello World
Assignment 11
Sample execution:-
Assignment 11
Sample execution:-
Assignment 11
Sample execution:-
Assignment 11
Pre-requisites:-
Assignment 11
Pre-requisites:-
⮚Strings
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
⮚Pointers
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
⮚Pointers
Objective:-
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
⮚Pointers
Objective:-
To understand the concept of
⮚Strings
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
⮚Pointers
Objective:-
To understand the concept of
⮚Strings
⮚Functions
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
⮚Pointers
Objective:-
To understand the concept of
⮚Strings
⮚Functions
⮚Pointers
Team Emertxe
Thank you

11_pangram.pdf

  • 1.
    Team Emertxe Strings andStorage Classes
  • 2.
  • 3.
  • 4.
    Assignment 11 WAP tocheck given string is Pangram or not
  • 5.
    Assignment 11 WAP tocheck given string is Pangram or not Input:
  • 6.
    Assignment 11 WAP tocheck given string is Pangram or not Input: Read the String from user (use selective scanf)
  • 7.
    Assignment 11 WAP tocheck given string is Pangram or not Input: Read the String from user (use selective scanf) Output:
  • 8.
    Assignment 11 WAP tocheck given string is Pangram or not Input: Read the String from user (use selective scanf) Output: Print whether the entered string is Pangram or not.
  • 9.
    Assignment 11 What isPangram String?
  • 10.
    Assignment 11 What isPangram String?  A Sentence containing all 26 letters of the English alphabet.
  • 11.
    Assignment 11 What isPangram String?  A Sentence containing all 26 letters of the English alphabet.  Example: The quick brown fox jumps over the lazy dog
  • 12.
  • 13.
    Assignment 11 Example’s:  Input:The quick brown fox jumps over the lazy dog Output: The Entered String is a Pangram String.
  • 14.
    Assignment 11 Example’s:  Step1: Create an array of size 26.  arr[26] = {0}
  • 15.
    Assignment 11 Example’s:  Step1: Create an array of size 26. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
  • 16.
    Assignment 11 Example’s:  Step2: Check each character of the input string. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 17.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 18.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 19.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 20.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 21.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 22.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 23.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 1 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 24.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 25.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 26.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 1 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 27.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 0 0 1 1 0 1 0 0 0 1 0 1 1 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 28.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 0 0 1 1 0 1 0 0 0 1 0 1 1 0 1 1 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 29.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 0 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 30.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 31.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 32.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 33.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 34.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 35.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 0 1 1 0 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 36.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 37.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 38.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 39.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 40.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 41.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 42.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 43.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 44.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 45.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 46.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 47.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 48.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 49.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 50.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 51.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 52.
    Assignment 11 Example’s:  Step4: Check all the array elements are equal to 1. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 53.
    Assignment 11 Example’s:  Step4: Check all the array elements are equal to 1. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Here, all the array elements are 1, so, entered string is a Pangram string.  Input: The quick brown fox jumps over the lazy dog
  • 54.
    Assignment 11 Example’s:  Input:Hello World Output: The Entered string is not a Pangram String.
  • 55.
    Assignment 11 Example’s:  Step1: Create an array of size 26.  arr[26] = {0}
  • 56.
    Assignment 11 Example’s:  Step1: Create an array of size 26. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
  • 57.
    Assignment 11 Example’s:  Step2: Check each character of the input string. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 58.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 59.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 60.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 61.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 62.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 63.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 64.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 65.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 66.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 67.
    Assignment 11 Example’s:  Step3: Update the respective position of the character to 1. 0 0 0 1 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 68.
    Assignment 11 Example’s:  Step4: Check all the array elements are equal to 1. 0 0 0 1 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Here, all the array elements are not 0, so, entered string is not a Pangram string.  Input: Hello World
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77.
  • 78.
  • 79.
  • 80.