LiveWire Peer Support Network

Printable Version of Topic "How do you use a char?"

- LiveWire Teen Forums & College Forums (http://www.golivewire.com)
-- (http://www.golivewire.com/forums/support-technical.html)
--- Programming & Application Development (http://www.golivewire.com/forums/forum-211-s-0.html)
---- How do you use a char? (http://www.golivewire.com/forums/peer-nansaa-support-a.html)


-- Posted by Curtained at 7:09 am on April 5, 2007

I've been told to use them, and I've never found out how.
The teacher is giving us an assignment to do this:
--------------------------------------

"This assignment involves writing a program that will factor a binomial of the form ax + b.  For example:  

6x + 18 = 6(x + 3)
            4x - 10 = 2(2x - 5)
            -30x + 15 = -15(2x + 1)"
--------------------------------------

I'm being told to use a char declaration in order to tell what the variable is.  Problem is, the teacher never tells us how to do these things, nor does he know himself, I think.


www.golivewire.com