简单例子分享006:do while句型
#include <stdio.h>#include <stdlib.h>
int main (void)
{
const intsecret=428284688;
int powerwork;
do
{
printf("please,input your powerwork:");
scanf("%d",&powerwork );
}while (powerwork != secret);
printf("secret is ture,congratulation!!!!!");
system("pause");
return 0;
}
nice
页:
[1]