//sum of two numbers.
#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
int a,b,c;
printf("enter first number");
scanf("%d",&a);
printf("enter second number");
scanf("%d",&b);
c=a+b;
printf("sum of numbers: %d",c);
getch();
//same as we can subtract,multiply,divide,remainder(%)
thank you !!
0 comments:
Post a Comment