#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
int main()
{
int tone[] = {262, 294, 330, 349, 392, 440, 494, 523};
char *note[] = {“1C”, “1D”, “1E”, “1F”, “1G”, “1A”, “1B”, “2C”};
int i, j;
for (i = 0; i < 8; i++) {
for (j = 0; j < 10000; j++) {
Beep(tone[i], 100);
}
}
printf(“谱曲完成!\n”);
system(“pause”);
return 0;
}