Code: Select all
ACC
Moderator: Board moderators
Code: Select all
ACC
Code: Select all
int a,b,c;
double p,P,C1,C2,r,R;
Code: Select all
int n = 5;
double ret = 0;
ret = n/2;
Code: Select all
int n = 5;
double ret = 0;
ret = n/2.0;
Well, of course you can mix them, but you have to be extra careful when you do. In temper's code:Spykaj wrote:I don't agree with little joey, my variables are:and I have ACC ;]Code: Select all
int a,b,c; double p,P,C1,C2,r,R;
Code: Select all
/* inradius */
r2 =
0.5 * sqrt (((b + c - a) * (c + a - b) * (a + b - c)) / (a + b + c));
How can your input is valid??fpavetic wrote:785398.1634 0.0000 0.0000emotional blind wrote:Strange
What is your outout in that case?
Code: Select all
........accepted.......