Flashy title? I know. I made this thread in the C programing section because its about a program that I programed in C. What is it? Its a program that plays the jeopardy theme song then some random stuff here is the code.
(turn down the volume if you are in a computer lab or something if you dont want everyone to wonder if your the awesomest person in the world)
Code:
#include <stdio.h>
#include <stdlib.h>
main()
{
int int1 = 1;
int beeper = 2000;
while(int1 == 1 || int1 == 2)
{
beep(500,500);
beep(700,500);
beep(500,500);
beep(300,500);
beep(500,500);
beep(700,500);
beep(500,1000);
sleep(100);
beep(500,500);
beep(700,500);
beep(500,500);
beep(700,500);
beep(900,800);
beep(700,220);
beep(500,220);
beep(400,220);
beep(350,220);
beep(300,220);
sleep(100);
int1++;
}
printf("rANdOm TiMe :D");
beep(422,324);
beep(234,242);
beep(324,335);
beep(243,914);
beep(924,219);
beep(204,424);
beep(324,234);
beep(204,753);
beep(490,10);
beep(5000,10);
beep(320,32);
while(beeper > 0)
{
beep(beeper,10);
beeper=beeper - 20;
printf("%d\n",beeper);
}
}