View Code of Problem 56

#include<stdio.h>
int main()
{int a,b,c,d,e,f,g,h,i;
scanf("%d %d %d %d %d %d",&a,&b,&c,&d,&e,&f);
g=a-d;
h=b-e;
i=c-f;
printf("%d:%d:%d",g,h,i);
 return 0;
}

Double click to view unformatted code.


Back to problem 56