Sunday, April 28, 2019

Programming in C : two numbers addition

Helllo friends here is programming for two number addition. It is easy and simple program for students. To write this code you need to know basic of C language so you can easily write this code.

Two numbers addition code for C

void main()
int a,b,c;
printf ("Enter first number=");
printf("Enter second number=");
printf ("Addition=%d",c);

Out put:
Enter first number=12
Enter second number=10

Bingo you just write your first program in c language. Keep it up and make more programs and enjoy.

No comments:

Post a Comment

© Indian Festival | Powered by Blogger | Design by Enny Law - Supported by IDcopy