Beginner here. This is the first program I made. There seems to be an error. Please help me fix it. Thanks.
Code:
#include <stdio.h>
int main()
{
int a, b, c, ans1, ans2, ans3, ans4, ans5;
printf("Think of three Real numbers... \n\n\n");
printf("Enter your first number\n");
scanf("%d", &a);
printf("Enter your second number\n");
scanf("%d", &b);
printf("Enter your third number\n");
scanf("%d", &c);
ans1 = a*-(b+c);
ans2 = (b*b)-4(a*c);
ans3 = (a*a)+(b*b*b)+(c*c)-12;
ans4 = ((a+b)/(c-b))-(3(b*b))+((4(b))/(3(c)));
ans5 = 3(a*a)-2(b*b)-9.14;
printf("\nFor equation 1, we have the answer %d,\nFor equation 2, we have %d,\nFor equation 3, we have %d,\nFor equation 4, we have %d and,\nFor equation 5, we have %d, ", ans1, ans2, ans3, ans4, ans5);
return 0;
}