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 save as lab5_1.c Problem 2 Write a C code to read two integers on the same line (n, and m) Then the program proceeds to read matrix A with n rows and m columns. Display only those rows where all the elements are non-descending. Each row displays it's number(s) in \%5d format, each row is on a separate line, then 'ln'. Suggestion: Use pointers to navigate through the array elements. save as lab5_2.c
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
