Posts

Showing posts with the label music

C Pogram to play Sa-re-ga......sa wihout break (Program 25)

/* Made by Anmol main Student :B.tech CSE  Punjabi university Patiala Program No. : 25 */ #include   <stdio.h> #include   <conio.h> #include   <windows.h> int   main () {      int   a ;      int   b   =   240 ;      printf ( "Press 1 to play Only 1 time \n: " );      printf ( "Press 2 to play untill you press a button \n: " );      scanf ( "%d" ,  & a );      switch  ( a )     case  1 :     {          do         {              Beep ( b ,  1000 );    ...