Question: Read a string from the standard input (the string does not contain any spaces or tabs). If the entire string consists of consecutive characters and

Read a string from the standard input (the string does not contain any spaces or tabs).

If the entire string consists of consecutive characters and all are small letters display:

Consecutive and all small letters followed by a new line, if all capitals letters, replace small by capital.

If the letters are not consecutive, display

Not consecutive

In both cases end the display by a new line

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!