Sum and Difference of Two Numbers

  • + 0 comments

    include

    int main() { int a = 10; int b = 4; float x = 4.0; float y = 2.0; printf("%d %d\n", a+b, a-b); printf("%.1f %.1f ",x+y ,x-y);

    return 0;
    

    }