Calculator program in C ||Simple calculator program in C || Free Code Center

Calculator program in c

Calculator program in C #include <stdio.h> int main () { char operator; printf(“enter the operator (+ – * /)\n press A for Area of circle\n press B for circumference of circle \n press C area of rectangle\n”); scanf(“%c”,&operator); double first,second,area; printf(“enter two numbers one by one= “); scanf(“%lf %lf”,&first,&second); if (operator==’+’) { printf(“The sum is=%.3lf”,first+second); … Read more