Home  |   Notes  |   Languages  |   Programs  |   Homework

Project #2

New Message Reply About this list Date view Thread view Subject view Author view

John Gordon (jogordo3@VT.EDU)
Tue, 2 Oct 2001 22:41:32 -0700


Message-ID:  <KOEOJPHAEDKBBMOMNEFDOECACAAA.jogordo3@vt.edu>
Date:         Tue, 2 Oct 2001 22:41:32 -0700
From: John Gordon <jogordo3@VT.EDU>
Subject:      Project #2

hey,

I have a question regarding Project #2.
I understand that we have to print out the
fractions which end up in lines containing
the divisor symbol. My question is as follows...
how do we handle multiple divisors? Should we
save the first one, break up the equation, and
process all the rest of them? Or should we treat
division in the divisor as multiplication in the
numerator...

So
 1/2/3... (or iconst 1 iconst 2 iconst 3 idiv idiv)
should the output be 3/2
or should it be 1/.666?

I just want to have this little detail regarding the
spec in order to plan out my approach for handling
these bad boys.

thanks

John Gordon (jogordo3@vt.edu)

"[Girl] - umm, me and my roomate are lesbians...
 [roomate] - does that make me a lesbian too?"


New Message Reply About this list Date view Thread view Subject view Author view

Home  |   Notes  |   Languages  |   Programs  |   Homework
copyright © 2001 Virginia Tech, ALL RIGHTS RESERVED
Class site maintained by Stephen H. Edwards <edwards@cs.vt.edu>