Home > Back-end >  Help bosses
Help bosses

Time:12-09

C language English typing practice system for help bosses
Want to have a menu, accuracy, practice time

CodePudding user response:

Give you a menu, and the rest of his writing

CodePudding user response:

 # include & lt; Bits/stdc++. H> 
using namespace std;

Int xuanze;

Void lianxi () {
//...
}

Int main () {
While (1) {
Ks: printf (" * * * * * * * * * * * * * * * * * * * * * * * * * * * * \ n ");
Printf (" * * * welcome you to practice English typing \ n * * * ");
Printf (" * * * * * * 1. Start practicing \ n ");
Printf (" * * * * * * 2. Exit system \ n ");
Printf (" * * * * * * * * * * * * * * * * * * * * * * * * * * * * \ n ");
While (1) {
The scanf (" % d ", & amp; Xuanze);
If (xuanze==1 | | xuanze==2) {
If (xuanze==1) {
Lianxi ();
Goto ks.
} else {
Printf (" welcome next time \ n ");
system("pause");
return 0;
}
}
Printf (" input is wrong, please input again! \n");
}
}
return 0;
}
  • Related