Driver Code
public static void Main ( String [ ] args ) { String S = " abb ? xy ? " ; if ( nonDecreasing ( S . ToCharArray ( ) ) == 1 ) Console . Write ( " Yes " + " STRNEWLINE " ) ; else Console . Write ( " No " + " STRNEWLINE " ) ; } }