Pages

Thursday, October 8, 2009

UVA Problem#10432

Question:

Solution technique: 
1. take inputs 
2. define pi as acos(-1.0) 
3. use the formula below to find the output:
area = (n*r*r*(sin(2.0*pi/n)))/2; 
  

No comments:

Post a Comment