negative #'s and Positive #'s

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lee123
    Contributor
    • Feb 2007
    • 556

    negative #'s and Positive #'s

    i am making a program that is about algebra and i want to know how can i get it to put negative and positive numbers in a text box for example if i had a problem that is:

    -6(2x + 10) = -48,
    -12x + 60 = -48

    in my project i have 6 textboxes for the numbers and two of them are for "X"
    if the problem has the "X" after the 10 anyway in this project i show the steps for figuring thes problems out right down to the answer.(with labels under it) but when i put a negative number like -6 in the textbox and multiply it by the 2x and the 10 the text boxes i have to show how to solve the problem both numbers come out negative

    so i want to only show the number that is suppose to be negative

    how do i do this?

    lee123
Working...