ImReallyBadAtCoding - 1 year ago 191

C Question

That's my code -

`main()`

{

double x;

double y = pow(((1/3 + sin(x/2))(pow(x, 3) + 3)), 1/3);

printf("%f", y);

return 0;

}

I get an error in

`double y = pow((1/3 + sin(x/2))(pow(x, 3) + 3), 1/3);`

`(1/3 + sin(x/2))(pow(x, 3) + 3)`

`pow(x, y);`

Recommended for you: Get network issues from **WhatsUp Gold**. **Not end users.**

Answer Source

If you want to multiply, you need to use the `*`

operator. You can't put parenthesized expressions adjacent to each other to denote multiplication.

```
(1/3 + sin(x/2))*(pow(x, 3) + 3)
```

Recommended from our users: **Dynamic Network Monitoring from WhatsUp Gold from IPSwitch**. ** Free Download**