• Em Destaque

    Aqui Você Encontra Os Melhores Template da Internet .

  • Em Destaque

    Aqui Você Encontra Os Melhores Template da Internet .

  • Em Destaque

    Aqui Você Encontra Os Melhores Template da Internet .

  • Em Destaque

    Aqui Você Encontra Os Melhores Template da Internet .

  • Curte aí!

    Showing posts with label Computer. Show all posts
    Showing posts with label Computer. Show all posts

    Thursday, 16 February 2012

    Experiment .name:Write a program to calculate actual draft by using C programming language.

    INTRODUCTION :

    Introducing with programme in “C” demands some initial computer knowledge to be known .we have to start with some necessary conceptions of computer programming language and systems provided for “C” programming.

    OBJECTIVES:

    1.To know the computer language .
    2.To learn how to work with ‘C++’
    3.To cope with ‘C’ programming. 

    Description of some code using in programming language:

    • printf( )=To display a command in monitor.
    • Void=Not to return the value from one function.
    • getch( )=To hold the value in the monitor until getting any response from programmer.
    • /n =To show contents in multiple line .
    • /t =To show contents in each pages with connection.
    • stdio.h = For adding header file and to input the printf ( ) programming code in the computer.
    TO DISPLAY A TEXT ON A SCANER:
    #include

    #include
    void main( )
    {
    clrscr( );
    float A_draft,DC,DCP,waste,T_draft;
    printf(“Enter DC,DCP,present waste=”);
    scanf(“%f%f%f,& DC,&DCP,&waste”);
    T_draft=DC/DCP
    A_draft=(T_draft*100)/(100-waste);
    Printf(“\n\n Actual draft=%0.2f”,A_draft);
    getch( );
    }

    CONCLUSION:

    Programming in “C” is very essential for programming. This is a vital experiment for us. I hope this experiment is very helpful in our practical life in future.

    Application of Computer in Textile Engineering | Write a Program toCalculate Actual Draft by Using C Programming Language

    Posted at  05:33  |  in  regular  |  Continue lendo ...»

    Experiment .name:Write a program to calculate actual draft by using C programming language.

    INTRODUCTION :

    Introducing with programme in “C” demands some initial computer knowledge to be known .we have to start with some necessary conceptions of computer programming language and systems provided for “C” programming.

    OBJECTIVES:

    1.To know the computer language .
    2.To learn how to work with ‘C++’
    3.To cope with ‘C’ programming. 

    Description of some code using in programming language:

    • printf( )=To display a command in monitor.
    • Void=Not to return the value from one function.
    • getch( )=To hold the value in the monitor until getting any response from programmer.
    • /n =To show contents in multiple line .
    • /t =To show contents in each pages with connection.
    • stdio.h = For adding header file and to input the printf ( ) programming code in the computer.
    TO DISPLAY A TEXT ON A SCANER:
    #include

    #include
    void main( )
    {
    clrscr( );
    float A_draft,DC,DCP,waste,T_draft;
    printf(“Enter DC,DCP,present waste=”);
    scanf(“%f%f%f,& DC,&DCP,&waste”);
    T_draft=DC/DCP
    A_draft=(T_draft*100)/(100-waste);
    Printf(“\n\n Actual draft=%0.2f”,A_draft);
    getch( );
    }

    CONCLUSION:

    Programming in “C” is very essential for programming. This is a vital experiment for us. I hope this experiment is very helpful in our practical life in future.

    Super Ofertas

    --
    Copyright © 2013 fibres2fashion. Blogger Template by BloggerTheme9
    Proudly Powered by Blogger.
    back to top