Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
373 B
2
Indexable
Never
#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;
}