Sum and Difference of Two Numbers

  • + 0 comments

    include

    int main() { int a, b; float c, d, e, f; scanf("%d%d%f%f", &a, &b, &c, &d); printf("%d %d\n%.1f %.1f", a+b, a-b, c+d, c-d); return 0; }