
sushma (Practice Mode): #include <stdio.h> #include <conio.h> void main() { int a,b, ans; printf("Please enter the 1st number\n"); scanf("%d",&a), printf("Enter 2nd number\n"); scanf("%d",&b); ans=a+b; printf("Answer is %d", ans); getch(); clrscr(); }
*25-04-10 - 08:26:45

sushma (Practice Mode): above examples finds the sum of 2integers, for subtraction, multiply, divide. just use -,*,/ respectively.
*25-04-10 - 08:34:06