Question: Please help me in the C program language You have received a warning that foreign spies may have infiltrated the great country of Canada. Fortunately,

Please help me in the C program language Please help me in the C program language You have received a

warning that foreign spies may have infiltrated the great country of Canada.

You have received a warning that foreign spies may have infiltrated the great country of Canada. Fortunately, you have developed a foolproof method to determine which potential suspects are truly Canadian: A person is a true Canadian if and only if they end every sentence exactly with eh? . Picture by George F.G. Stanley via Given the transcript of a sentence spoken by a suspected spy, write a program to determine if the suspect is truly Canadian...or merely an imposter in disguise! Input The input consists of a single line, which is the sentence spoken by the suspect. The line will contain between 3 and 100 characters (inclusively). It will also only contain English letters, digits, spaces, and punctuation symbols. Output Display Canadian! if the speaker is a true Canadian following the above criteria, otherwise display Imposter! . Sample Input 1 Sample Output 1 Sample Input 2 Sample Output 2 Sample Input 3 Sample Output 3 Sample Input 4 Sample Output 4

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!