Question: i would like to use use the code below (in c++). however instead of having string input_string = Pack my box with five dozen liquor

i would like to use use the code below (in c++). however instead of having "string input_string = "Pack my box with five dozen liquor jugs" ;" i would like the user to input whatever sentence he/she wishes. I am having problems doing this.

the task i have been assigned is: "A pangram is a sentence or verse that contains all the letters of the alphabet. Write a C++ program that checks whether a given sentence is a pangram."

#include

using namespace std; //Panagram check bool isPangram(string &input_string) { vector mark(26, false);//hash table to mark present or not int index; // Traverse all characters for (int i=0; i

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!