simple programme to add two numbers # include <stdio.h> #include<conio.h> void main(); { int a,b,sum; printf("Enter any two numbers:\n"); scanf("%d%d",&a,&b); sum=a+b; printf("\nThe sum of two numbers is:%d",sum); getch(); } output Enter any two numbers: _5 _4 The sum of two numbers is:9 /*Here 5,4 and 9 are only examples we will add any two numbers using this programme
This site contains the materials related to Engineering,mostly civil Engineering and the course contained by Nepali universities.I hope it will provide what you are looking for.