Here is your c program to sum(in fact to add,divide,subtract,multiply).
#include<conio.h>
#include<stdio.h>
void main()
{
int a,b,c;
clrscr();
a=20;
b=30;
c=a+b; //you can change the operator here and get the desired answer and program...
printf("The sum is :->%d",c);
getch();
}
well i hope u r satisfied now and if not and u have more queries then meet me online @
jforjaxi@gmail.com on orkut
jforjaxi@gmail.com on facebook
or you can mail me @ jayantpurohit21@gmail.com
and please put your name and city in the subject field if u r putting mail to me...
really working and useful codes.
ReplyDeletethanks for all this..