Untitled
unknown
plain_text
2 years ago
373 B
6
Indexable
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main()
{
double a, b;
scanf("%lf", &a);
scanf("%lf", &b);
printf("\n%.1lf + %.1lf = %.1lf", a, b, a+b);
printf("\n%.1lf - %.1lf = %.1lf", a, b, a-b);
printf("\n%.1lf * %.1lf = %.1lf", a, b, a*b);
printf("\n%.1lf / %.1lf = %.1lf", a, b, a/b);
return 0;
}
Editor is loading...