Sum and Difference of Two Numbers

  • + 0 comments

    include

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

    return 0;
    

    }