Thursday, 12 December 2013

c program on sound

c program on sound

#include<dos.h>

void main()
{
   int a;

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

   return 0;
}

No comments: