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