You are viewing a single comment's thread. Return to all comments →
int main() { int a,b; float c,d;
printf("enter number a:"); scanf("%d",&a); printf("enter number b:"); scanf("%d",&b); printf("enter number c:"); scanf("%f",&c); printf("enter number d:"); scanf("%f",&d); printf("%d %d",a+b,a-b); printf("\n%.1f %.1f",c+d,c-d); return 0;
}
Seems like cookies are disabled on this browser, please enable them to open this website
Sum and Difference of Two Numbers
You are viewing a single comment's thread. Return to all comments →
include
include
include
include
int main() { int a,b; float c,d;
}