Write a c program to evaluate the algebraic expressions after reading necessary values from keyboard
Answers
Answered by
1
Answer:
in which class do you study
Answered by
3
Explanation:
#include<stdio.h>
#include<math.h>
void main()
{
int a,b;
printf(" enter a and b : ");
scanf ("%d %d", &a, &b);
printf(" sum:%d ", (a+b));
printf(" sub: %d ", (a-b));
printf(" mul: %d ", (a*b));
printf(" div:%d ", (a/b));
}
Similar questions