You are viewing a single comment's thread. Return to all comments →
int main() { int x= 10; int y= 4; float a= 4.0; float b= 2.0; printf("%d",x+y); printf(" %d",x-y); printf("\n%.1f %.1f", a+b, a-b); 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
int main() { int x= 10;
int y= 4;
float a= 4.0;
float b= 2.0;
printf("%d",x+y);
printf(" %d",x-y);
printf("\n%.1f %.1f", a+b, a-b);
return 0; }