3
Answers

Error Method Name Expected

Hello,

When I tried to compile the following code I got an error, Method Name Expected.

int penalty=0,diff=0;

penalty = ((diff * 200)(diff + 1)) / 2;

Can anyone help me with this.

Minakshi.

Answers (3)