Hey guys-

I am a dime off on this program and I can't figure out why. Any suggestions? Thanks.

Code:#include <stdio.h> struct dollarsQuartersDimes { int dollars, quarters, dimes; }; int main(void) { dollarsQuartersDimes dQD1, sum, dQD2 = { }; printf("\nEnter the dollars, quarters, dimes in purse 1 : \n"); scanf("%d%d%d", &dQD1.dollars, &dQD1.quarters, &dQD1.dimes); printf("\nEnter the dollars, quarters, dimes in purse 2 : \n"); scanf("%d%d%d", &dQD2.dollars, &dQD2.quarters, &dQD2.dimes); sum.dollars = dQD1.dollars + dQD2.dollars; sum.quarters = dQD1.quarters + dQD2.quarters; sum.dimes = dQD1.dimes + dQD2.dimes; while (sum.quarters > 3) { ++sum.dollars; sum.quarters = sum.quarters - 4; } while (sum.dimes > 9) { ++sum.dollars; sum.dimes = sum.dimes - 10; } while (sum.dimes > 2) { ++sum.quarters; sum.dimes = sum.dimes - 2.5; } printf("\n %d dollars %d quarters %d dimes\n+ %d dollars %d quarters %d dimes\n----------------------------\n %d dollars %d quarters %d dimes \n", dQD1.dollars, dQD1.quarters, dQD1.dimes, dQD2.dollars, dQD2.quarters, dQD2.dimes, sum.dollars, sum.quarters, sum.dimes); return 0;