assignment2.cpp: In function `int main()':
assignment2.cpp:18: invalid suffix on integer constant
assignment2.cpp:18: warning: division by zero in `-b / 0'
assignment2.cpp:26: invalid suffix on integer constant
assignment2.cpp:26: warning: division by zero in `
(sqrt(double)(compute_discriminant) - b) / 0'
assignment2.cpp:27: invalid suffix on integer constant
assignment2.cpp:27: warning: division by zero in `((-b) -
sqrt(double)(compute_discriminant)) / 0'
if (compute_discriminant=zero){//this is wrong.
/*the = operator is assignment. the == operator is comparison.*/
two_real_roots=(Xone,Xtwo);//this is wrong.
/*The comma operator does not construct a list in C.
It just discards the left argument and returns the right one.*/