#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int addend1_part1 = 9876,addend1_part2=543210;
int addend2_part1 = 8765,addend2_part2=432109;
int sum_part1,sum_part2;
sum_part2 = addend1_part2+addend2_part2;
sum_part1 = addend1_part1+addend2_part1;
sum_part1 = sum_part1+sum_part2/1000000;
sum_part2 = sum_part2% 1000000;
printf("%d% 06d\n",sum_part2);
system("PAUSE");
return 0;
}
#include <stdlib.h>
int main(void)
{
int addend1_part1 = 9876,addend1_part2=543210;
int addend2_part1 = 8765,addend2_part2=432109;
int sum_part1,sum_part2;
sum_part2 = addend1_part2+addend2_part2;
sum_part1 = addend1_part1+addend2_part1;
sum_part1 = sum_part1+sum_part2/1000000;
sum_part2 = sum_part2% 1000000;
printf("%d% 06d\n",sum_part2);
system("PAUSE");
return 0;
}