sound


dos functions in c


/*
Write a program in C for sound dos function
*/

#include<dos.h>

main()
{
   int a;

   for ( a = 200 ; a <= 1000 ; a = a + 20 )
   {
      sound(a);
      delay(25);
   }
   nosound();

   return 0;
}

Post a Comment

0 Comments