* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Menu section *
* 1. The Design (& amp;) *
* 2. The Design ($) *
* 3. The Exit *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
CodePudding user response:
endFlag=0;
Do
{
PrintMenu ();
The scanf (" % d ", & amp; Choice);
The switch (choice)
{
Case 1:
The design (' & amp; ');
break;
Case 2:
The design (' $');
break;
Case 3:
EndFlag=1;
break;
Default:
Printf (" input error, please input again \ n ");
break;
}
} while (! EndFlag);
CodePudding user response:
Printf (" please input your choice: ");The scanf (" % d ", & amp; Choice);
CodePudding user response:
If the two design pattern is different form, perhaps can add cent ~CodePudding user response:
Ooolinux is keen, praise,CodePudding user response: