1. ## i need a debugger badly...

Code:
```#include <stdio.h>
#include <math.h>

main()
{
double first_a, first_b, second_a, second_b, ans1, ans2, ans3, ans4, ans5, ans6;
printf("Test Complex Number Arithmetic");
printf("\n");
printf("Enter the first complex number in the form - real, imaginary - --> (");
scanf(" ( %lf , %lf )", &first_a, &first_b );
printf("\n");
printf("Enter the second complex number in the form - real, imaginary - --> (");
scanf(" ( %lf , %lf )", &second_a, &second_b );
printf("\n");
ans1 = (first_a + second_a, first_b + second_b);
ans2 = (first_a - second_a, first_b - second_b);
ans3 = (first_a * second_a, first_b * second_b);
ans4 = (first_a / second_a, first_b / second_b);
ans5 = (sqrt(first_a), sqrt(first_b));
ans6 = (sqrt(second_a), sqrt(second_b));
printf("Results:  (%lf) + (%lf) = (%lf)  (%lf) + (%lf) = (%lf)  (%lf) + (%lf) = (%lf)  abs(%lf) + (%lf) = (%lf)   abs(%lf) + (%i) = (%i)", first_a, first_b,
second_a, second_b, ans1, first_a, first_b, second_a, second_b, ans2, first_a, first_b, second_a, second_b, ans2, first_a, first_b, second_a, second_b, ans3, first_a,\$

return 0;
}```

2. Please explain what is wrong if you can. Any information that you have, like a sample run of your program, your compiler, your OS, and your expectations are valuable.

3. Code:
```#include <stdio.h>
#include <math.h>

main()
{
double a1, b1, a2, b2, a_ans1, b_ans1, a_ans2, b_ans2, a_ans3, b_ans3, a_ans4, b_ans4, a_ans5, b_ans5, a_ans6, b_ans6;
printf("Test Complex Number Arithmetic");
printf("\n");
printf("Enter the first complex number in the form - real, imaginary - -->");
scanf(" ( %lf , %lf )", &a1, &b1 );
printf("\n");
printf("Enter the second complex number in the form - real, imaginary - -->");
scanf(" ( %lf , %lf )", &a2, &b2 );
printf("\n");
a_ans1 = (a1 + a2);
b_ans1 = (b1 + b2);
a_ans2 = (a1 - a2);
b_ans2 = (b1 - b2);
a_ans3 = (a1 * a2);
b_ans3 = (b1 * b2);
a_ans4 = (a1 / a2);
b_ans4 = (b1 / b2);
a_ans5 = sqrt (a1);
b_ans5 = sqrt (b1);

printf("Results:\n"
"(%lf + %lf) (%lf + %lf) = (%lf), (%lf)\n"
"(%lf + %lf) (%lf + %lf) = (%lf), (%lf)\n"
"(%lf + %lf) (%lf + %lf) = (%lf), (%lf)\n"
"(%lf + %lf) (%lf + %lf) = (%lf), (%lf)\n"
"(%lf + %lf) (%lf + %lf) = (%lf), (%lf)\n",
a1, b1, a2, b2, a_ans1, b_ans1
a1, b1, a2, b2, a_ans2, b_ans2
a1, b1, a2, b2, a_ans3, b_ans3
a1, b1, a2, b2, a_ans4, b_ans4
a1, b1, a2, b2, a_ans5, b_ans5);

return 0;```
this is my updated code... i need it to read something like the below...
but i get a compiler error

assignment3.c: In function `main':
assignment3.c:33: error: syntax error before "a1"

Test Complex Number Arithmetic

Enter the first complex number in the form ( real, imaginary ) --> (1.0, 1.0)

Enter the second complex number in the form ( real, imaginary ) --> (2.1, 3.4)

Results:

(1.000000, 1.000000) + (2.100000, 3.400000) = ( 3.100000e+000, 4.400000e+000)
(1.000000, 1.000000) - (2.100000, 3.400000) = (-1.100000e+000, -2.400000e+000)
(1.000000, 1.000000) * (2.100000, 3.400000) = (-1.300000e+000, 5.500000e+000)
(1.000000, 1.000000) / (2.100000, 3.400000) = ( 3.443957e-001, -8.140263e-002)
abs(1.000000, 1.000000) = (1.414214)
abs(2.100000, 3.400000) = (3.996248)

4. Code:
``` printf("Results:\n"
"(%lf + %lf) + (%lf + %lf) = (%lf, %lf)\n"
"(%lf + %lf) - (%lf + %lf) = (%lf, %lf)\n"
"(%lf + %lf) * (%lf + %lf) = (%lf, %lf)\n"
"(%lf + %lf) / (%lf + %lf) = (%lf,  %lf)\n"
"(%lf + %lf) (%lf + %lf) = (%lf, %lf)\n",
a1, b1, a2, b2, a_ans1, b_ans1,
a1, b1, a2, b2, a_ans2, b_ans2,
a1, b1, a2, b2, a_ans3, b_ans3,
a1, b1, a2, b2, a_ans4, b_ans4,
a1, b1, a2, b2, a_ans5, b_ans5);```
Note the ',' on the end of each variable list staring a1, ...

5. a1, b1, a2, b2, a_ans1, b_ans1
a1, b1, a2, b2, a_ans2, b_ans2
a1, b1, a2, b2, a_ans3, b_ans3
a1, b1, a2, b2, a_ans4, b_ans4
a1, b1, a2, b2, a_ans5, b_ans5);