Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <windows.h>
- using namespace std;
- int a = 1;
- int main()
- {
- cout << "Happy Birthday Dan!" << endl;
- Beep(261.63,250);
- Beep(261.63,250);
- Beep(293.66,500);
- Beep(261.63,500);
- Beep(349.23,500);
- Beep(329.23,1000);
- Beep(0,500);
- Beep(261.63,250);
- Beep(261.63,250);
- Beep(293.66,500);
- Beep(261.63,500);
- Beep(392,500);
- Beep(349.23,1000);
- Beep(0,500);
- Beep(261.63,250);
- Beep(261.63,250);
- Beep(523.25,500);
- Beep(440,500);
- Beep(349.23,500);
- Beep(329.63,500);
- Beep(293.66,500);
- Beep(466.16,250);
- Beep(466.16,250);
- Beep(440,500);
- Beep(349.23,500);
- Beep(392,500);
- Beep(349.23,1000);
- Beep(0,1000);
- while (a==1)
- {
- cout << "Happy Birthday jig!" << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement