<*> To change settings via email: mailto:c-prog-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org mailto:c-prog-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
--- mtnzknolbase1 <mtnzknolbase1-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> hi there members, how can i add or multiply> fractions using with the > final answer in fraction form using structures an> functons.> For mixed numbers (an integer with a fraction), create a structure with an int for the integer portion, an int for the numerator and an int for the denominator. Then create functions to do the operations. You should also create a function to reduce the fraction, so that 4/8 is represented as 1/2.
Ray
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>. Yahoo! Groups Links
<*> To change settings via email: mailto:c-prog-digest-hHKSG33TihhbjbujkaE4pw@public.gmane.org mailto:c-prog-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org