ahmed0saber

Beep in C++

Mar 20th, 2021
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <iostream>
  2. #include <windows.h>
  3. using namespace std;
  4. int main()
  5. {
  6.     Beep(600,500);
  7.     Beep(500,500);
  8.     Beep(400,500);
  9.     Beep(300,500);
  10.     Beep(250,500);
  11.     Beep(300,500);
  12.     Beep(400,500);
  13.     Beep(500,500);
  14.     Beep(600,1000);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment