help with structures

Nov 7, 2011 at 7:51am
Hey thanks!
Last edited on Nov 8, 2011 at 3:13am
Nov 7, 2011 at 11:17am
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.