Programming with Passion

Make the best out of everything.

Thursday 17 March 2016

C programming code for sound

C programming code for sound

#include<dos.h>
 
main()
{
   int a;
 
   for ( a = 200 ; a <= 1000 ; a = a + 20 )
   {
      sound(a);
      delay(25);
   }
   nosound();
 
   return 0;
}

No comments:

Post a Comment