题目内容

cout$amp;;$br>

查看答案
更多问题

#include
void main()
{
int num=0,i=8;
do{
i--;
num++;
}while(--i):
cout$amp;}

#include
main ()
{ int a=1,b=2,c=3,d=0;
if (a==1 )
if (b!=2 )
if (c==3 ) d=1;
else d=2;
else if (c!=3 ) d=3;
else d=4;
else d=5;
printf (" %d\n " ,d ) ;
}
程序运行后的输出结果是 【 7 】 。

Private Sub Comand1_Click ()
Dim count (25 ) As Integer, ch As String
ch=U c ase (InputBox (" 请输入字母字符串 " ) )
For k=1 To Len (ch )
n=Asc (Mid (ch,k,1 ) ) -Asc (" A " )
If n>=0 Then
Count (n ) =Count (n ) + 1
End If
Next k
m=count (0 )
For k=1 To 25
If m
m=count (k )
End If
Next k
Print m
End Sub
A ) 0
B ) 1
C ) 2
D ) 3

#include
main ()
{ int a[10],*p,*s;
for (p=a;p-a<10;p++ ) scanf (" %d " ,p ) ;
for (p=a,s=a;p-a<10;p++ ) if (*p>*s ) s= 【 15 】 ;
printf (" index=%d\n " ,s-a ) ;
}

答案查题题库