Skip to content
Sign upLog in
← Back to Community
Arithmetic operation
Profile icon
jagdishhatwar

// ARITHMATIC OPERATIONS OF DOUBLE FLOATING NO.S
#include<stdio.h>
int main()
{
double a,b,c;
printf("ENTER THE TWO VAUES: ");
scanf("%lf%lf",&a,&b);
c=a+b;
printf("ADDTION RESULT %lf\n",c);
c=a*b;
printf("Mul result %lf\n",c);
c=a/b;
printf("Division Result %lf\n",c);
c=a-b;
printf("Substraction result %lf\n",c);
// c=a % b;
// printf("Modulo division %f",c);
return 0;
}

Voters
Profile icon
jagdishhatwar