Loading

C - Program to Produce Sound of Specific Frequency

C - Program to Produce Sound of Specific Frequency


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

This entry was posted in . Bookmark the permalink.

Leave a reply