Question: C programming Three characters are read from input into variables firstInitial, middleInitial, and lastInitial. If firstInitial, middleInitial, or lastInitial does not contain any whitespace, then

C programming Three characters are read from input into variables firstInitial, middleInitial, and lastInitial. If firstInitial, middleInitial, or lastInitial does not contain any whitespace, then output "Input does not contain a whitespace". Otherwise, output "Input contains a whitespace". End each output with a newline.
Ex 1: If the input is qsd, then the output is:
Input does not contain a whitespace
Ex 2: If the input is v y, then the output is:
Input contains a whitespace

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 Programming Questions!