鱼蛋代码 发表于 2016-12-2 18:04:48

简单例子分享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;
}

15701168680 发表于 2017-1-4 16:53:20

nice
页: [1]
查看完整版本: 简单例子分享006:do while句型