Wednesday, 26 April 2017

Addition of two numbers

Lets fun with coding. here i wrote my first coding based on addition of two numbers through C programming language. It is easy to understand.
guys if you a have a any query so you may ask to me




#include<stdio.h>
#include<conio.h>
void main()
{
printf("Addition of two numbers\n"); \\ here \n is using to change the next line automatically
int a,b,c;
clrscr();
printf("Enter your first number\n");
scanf("%d",&a);
printf("Enter your second number\n");
scanf("%d",&b);
c=a+b;
printf("Addition of two number = %d",c);
getch();
}

No comments:

Post a Comment

Thanks for sharing your views

4 Apps for Photography in Android Smartphone

Are you fond of photography? Do you like to take your time for photography? In such a situation, our news may come to you. Often, while ph...