//#include<stdio.h> // int main () //{ // int ret, ch; // char man [10] = {0}; // printf("Please enter the password:"); // scanf("%s", &man); // /*ret = getchar();*/ // while ((ch = getchar()) != '\n') // { // // } // printf("Please confirm (Y/N):\n"); // ret = getchar(); // if (ret == 'Y') // { // printf("Confirm success!\n"); // } // else // { // printf("Confirmation failed!\n"); // } // return 0; //} //#include<stdio.h> // int main () //{ // int ch; // while ((ch = getchar()) != EOF) // { // if (ch < '5' || ch > '9') // continue; // putchar(ch); // } // return 0; //}
Thirtieth day of self-study
Guess you like
Origin blog.51cto.com/15019599/2575387
Recommended
Ranking