Home > Back-end >  This how ah...
This how ah...

Time:09-18

His name from the keyboard input pinyin (lowercase), its length, and find out its
In the ASCII value of the smallest letters, appear on the screen,

CodePudding user response:

Help
help

CodePudding user response:

This question doesn't fit in the BBS, should read first, learn the basic knowledge

CodePudding user response:



After input the char array. Only need to traverse again. For convenient point. Get minimum.

With a global variable char testLowChar=' ';

For (int 1=0; iIf (testLowChar & lt; The name [I]) {
TestLowChar=name [I];
}

}

Very simple.
  • Related