#################### # Name : # UTA ID : # Lab assignment #1B # Program purpose : # Read in three values from the user naming them a, b, and c. # Print a message for the user that echoes back the three values # just entered, i.e. it tells the user what is assigned to a, b, and c # Calculate the two roots for the quadratic equation ax**2 + bx + c = 0 by # using the quadratic formula which is read as # "(-b +or- (square root of (b squared - 4ac)) ) over 2a" # NOTE: if you aren't sure of the math, look it up before implementing # Print a message that gives both roots for the equation # Required components : # Variables, arithmetic # Optional components : # You may import the math library if desired to use the sqrt function #################### ### main ###