1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <iostream>
#include <windows.h>
using namespace std;
int main()
{
//ascending pitch beep
for (int i=0; i<3000; i+=10){
Beep (i,100);
}
//descending pitch beep
for (int i=3000; i>0; i-=10){
Beep (i,100);
}
}
|
댓글 없음:
댓글 쓰기