• Breaking News

    Funny Coder

    Funny coder is an open source web for interested programmer. It is a programming environment.It's a way where you can code with fun.

    Friday, April 22, 2016

    Simple summation or Addition C Program




    1. /*
    2. Name   : C source program of Simple summation or Addition
    3. Author : Funny Coder(Maniruzzman Akash)
    4. It's a free code. You can use it anywhere
    5. */

    6. #include<stdio.h>
    7. int main(){
    8. int num1, num2, sum;
    9. printf("\nEnter first number : ");
    10. scanf("%d", &num1);                        //take number1 from user
    11. printf("\nEnter second number : ");
    12. scanf("%d", &num2);                        //take number2 from user
    13. sum = num1 + num2;
    14. printf("\nSummation is : %d\n", sum);
    15. return 0;
    16. }










    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel