Compose your own airtel tone using C language

C program is the one of the basic program which is well known by all computer students. Here is the code to compose your own airtel tune using C program

  •     Just open your C program software
  •     Just copy and paste the below code exactly in that software
  •     Otherwise type this code exactly in your C software
  •     Save that C file with anyfilename.C
  •     That’s it!!!
  •     Compile it and here your own compose.


    Click on Read more to access program.


  • /* Cloud Eco Technologies www.clecotech.in*/
        /* compile n execute the code */
        #include< stdio.h >
        #include< dos.h >
        int main(void)
        {
        float A,Bb,D,G,F;
        A = 440;
        G = 780;
        Bb = 461;
        D = 586;
        F = 687;
        sound(G);
        delay(500);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(G);
        delay(500);
        nosound();
        sound(2*D);
        delay(500);
        nosound();
        sound(2*A);
        delay(250);
        nosound();
        sound(2*Bb);
        delay(250);
        nosound();
        sound(2*A);
        delay(250);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(F);
        delay(500);
        nosound();
        sound(2*A);
        delay(500);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(2*A);
        delay(250);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(F);
        delay(250);
        sound(G);
        delay(250);
        sound(2*A);
        delay(250);
        sound(2*Bb);
        delay(500);
        sound(2*A);
        delay(500);
        sound(G);
        delay(250);
        sound(F);
        delay(250);
        sound(D);
        delay(500);
        nosound();
        //end 1
        sound(G);
        delay(500);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(G);
        delay(500);
        nosound();
        sound(2*D);
        delay(500);
        nosound();
        sound(2*A);
        delay(250);
        nosound();
        sound(2*Bb);
        delay(250);
        nosound();
        sound(2*A);
        delay(250);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(F);
        delay(500);
        nosound();
        sound(2*A);
        delay(500);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(2*A);
        delay(250);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(F);
        delay(250);
        sound(G);
        delay(250);
        sound(2*A);
        delay(250);
        sound(2*Bb);
        delay(500);
        sound(2*A);
        delay(500);
        sound(G);
        delay(250);
        sound(F);
        delay(250);
        sound(D);
        delay(500);
        nosound();
        //end 2
        sound(2*A);
        delay(250);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(F);
        delay(250);
        sound(G);
        delay(250);
        sound(2*A);
        delay(250);
        sound(2*Bb);
        delay(500);
        sound(2*A);
        delay(500);
        sound(G);
        delay(250);
        sound(F);
        delay(250);
        sound(D);
        delay(500);
        nosound();
        sound(2*A);
        delay(250);
        nosound();
        sound(G);
        delay(250);
        nosound();
        sound(F);
        delay(250);
        sound(G);
        delay(250);
        sound(2*A);
        delay(250);
        sound(2*Bb);
        delay(500);
        sound(2*A);
        delay(500);
        sound(G);
        delay(250);
        sound(F);
        delay(250);
        sound(D);
        delay(500);
        nosound();
        return 0;
        }

About the author

Being the CEO and Founder of ClecoTech International, Mr. Ashish Prajapati is dedicated towards his aim of mentoring young startups into a full-fledged businesses. He is helping startups from America, Europe, India, and various other countries through proper guidance and the use of latest technologies to develop their innovation and ideas into definite realities.

Leave a Reply

Your email address will not be published. Required fields are marked *