Find Difference of two variable:
1 2 3 4 5 6 7 8 | #include<stdio.h> int main() { int a,b; a=6; b=2; printf("%d-%d=%d",a,b,a-b); } |
Find Difference of three variable:
1 2 3 4 5 6 7 8 9 10 | #include<stdio.h> int main() { int a,b,c,d; a=8; b=6; c=4; d=a-b-c; printf("%d-%d-%d=%d",a,b,c,d); } |
Post a Comment