如何在这个程序的基础上编辑回答正确时有音乐响起
#include<stdio.h>#include<stdlib.h>
#include<time.h>
#include<windows.h>
main()
{
int a,b,i,shang,c=0,d=0;
system( "cls" );
srand(( int )time( 0 ));
while(i<=10){
a = rand() % 10;
b = rand() % 10;
if( b==0 || a<b || a%b != 0 )
continue;
else{
printf( "%d/%d=", a, b );
scanf( "%d", &shang );
}
if( shang == a / b ){
printf("回答正确!\n");c++;
}else{
printf("回答错误!\n");d++;
}
i=c+d;
} //end of while(i<=10)
}