Question: In C programming help please my code in the picture only prints Invalid number of arguments before i get a chance to test the argument.

In C programming help please my code in the picture only prints Invalid number of arguments before i get a chance to test the argument. It should pass all these 5 cases with the following output. Thanks a lot
Case 1 Input: speak when you are angry and you will make the best speech you will ever regret! Output: valid
Case 2 Input: ________(Blank/Nothing)
Output: invalid number of arguments
Case 3 Input: c programming 2nd edition
Output: valid
Case 4 Input: it is not how you play the game, it is how the game plays you
Output: invalid
Case 5 Input: good words are worth much ;and cost little.
Output: invalid
 In C programming help please my code in the picture only

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!