c语言求教#include "stdio.h"void main(){int num;do{printf("猜对有奖(如果你猜到正确的数字会显示),Please enter your number:");scanf("%d",&num);if num){printf("你在逗我玩吗?.\n");}else if(num>0 && num8 && num15 && num23 && num3

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/28 03:47:21
c语言求教#include"stdio.h"voidmain(){intnum;do{printf("猜对有奖(如果你猜到正确的数字会显示),Pleaseenteryournumber:");scan

c语言求教#include "stdio.h"void main(){int num;do{printf("猜对有奖(如果你猜到正确的数字会显示),Please enter your number:");scanf("%d",&num);if num){printf("你在逗我玩吗?.\n");}else if(num>0 && num8 && num15 && num23 && num3
c语言求教
#include "stdio.h"
void main()
{
int num;
do
{
printf("猜对有奖(如果你猜到正确的数字会显示),Please enter your number:");
scanf("%d",&num);
if num)
{
printf("你在逗我玩吗?.\n");
}
else if(num>0 && num8 && num15 && num23 && num38 && num36 && num

c语言求教#include "stdio.h"void main(){int num;do{printf("猜对有奖(如果你猜到正确的数字会显示),Please enter your number:");scanf("%d",&num);if num){printf("你在逗我玩吗?.\n");}else if(num>0 && num8 && num15 && num23 && num3
printf("猜对有奖(如果你猜到正确的数字会显示),Please enter your number:");
//这句输出,说明do-while已经执行了