#include<stdio.h>
#include<conio.h>
#include<dos.h>
void main()
{
sound(3000); // sound function have single parameter , this parameter we put integer value its generating sound
getch();
nosound(); // nosound function have no parameter, this function stop the sound
}