You are viewing a single comment's thread. Return to all comments →
int main () { int a=10,b=4; float c=4.0,d=2.0; printf("%d %d\n", a+b, a-b); printf("%.1f %.1f", c+d, c-d); }
is it correct
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Sum and Difference of Two Numbers
You are viewing a single comment's thread. Return to all comments →
include
int main () { int a=10,b=4; float c=4.0,d=2.0; printf("%d %d\n", a+b, a-b); printf("%.1f %.1f", c+d, c-d); }
is it correct