Addition of two numbers in c language

Addition of two numbers in c language


#include<stdio.h>
int main()
{
int x,y,z;
printf ("Enter two numbers");
scanf("%d%d",&x,&y);
z=x+y;
printf("Sum of two numbers are=%d",z);
}

OUTPUT
Enter two numbers 4
5
Sum of two numbers are=9

Addition of two number is simple program of C-language.After reading this program you will be able to form simple mathematics addition.


If you like this program then you can share it and for any issues you can direct contact with me from Home Page.

For regular updates you can also follow my site.
                                                               Next=>

Comments

Popular posts

Creative pattern of butterfly in C-language

Variable & Datatype for C-programming

Errors in C-language

Introduction of C-language.

Language Translator of C-language

Syntax of C-language

Program to see all ASCII value using for loop in C-language

Program to find the sum of all n elements in an array in C-language