help with structures
Hey thanks!
Last edited on
Dear,
You can have your function normalize something like this:
1 2 3 4 5 6 7 8 9 10 11 12
|
Money Normalize()
{
Money mn;
int temp;
temp = mn.cents%100;
mn.cents = mn.cents/100;
mn.dollors = mn dollors + temp;
return mn;
}
| |
Just Try this!!!
Good Luck :)
Topic archived. No new replies allowed.