下面这段程序哪里有错.输入一个正整数n,找出其中最小数字,用该数字组成一个新数#includemain(){\x09int count=0,i,min_dig,n,new=0;\x09min_dig=9;\x09printf("Enter an integer:");\x09scanf("%d",&n);\x09do\x09{\x09\x09if(n%10

来源:学生作业帮助网 编辑:作业帮 时间:2024/08/03 05:26:09
下面这段程序哪里有错.输入一个正整数n,找出其中最小数字,用该数字组成一个新数#includemain(){\x09int count=0,i,min_dig,n,new=0;\x09min_dig=9;\x09printf(
xR]KP+bCץ5"A,7e1oR~a$Nb-?s]:;^]7ݼ>s#Fub=4~6ɰ>JW[B_W:Dj>P% ^tuy81 G7J tY[ֶ&@$IV@KeA&BS'$(@4Bڌ% HpE=^C>K;-OX>KmR%ĸiX d$pt nqi+Y\'m\Қ@.Υ\wwBbe~ڊVūƬe*װ3p]+&s`aj56\byWW5( k a=X+6?f{u)&Yoڧ

下面这段程序哪里有错.输入一个正整数n,找出其中最小数字,用该数字组成一个新数#includemain(){\x09int count=0,i,min_dig,n,new=0;\x09min_dig=9;\x09printf("Enter an integer:");\x09scanf("%d",&n);\x09do\x09{\x09\x09if(n%10
下面这段程序哪里有错.输入一个正整数n,找出其中最小数字,用该数字组成一个新数
#include
main()
{
\x09int count=0,i,min_dig,n,new=0;
\x09min_dig=9;
\x09printf("Enter an integer:");
\x09scanf("%d",&n);
\x09do
\x09{
\x09\x09if(n%10

下面这段程序哪里有错.输入一个正整数n,找出其中最小数字,用该数字组成一个新数#includemain(){\x09int count=0,i,min_dig,n,new=0;\x09min_dig=9;\x09printf("Enter an integer:");\x09scanf("%d",&n);\x09do\x09{\x09\x09if(n%10
你是不是用C++编译器编译了?
new是关键字不能作为变量名.
解决方法:
用C编译器编译即可