Search found 1 match

by Ashok
Sun Jul 14, 2002 8:09 am
Forum: Volume 3 (300-399)
Topic: 356 - Square Pegs And Round Holes
Replies: 41
Views: 10467

356,where is the wrong

can u pls point out the wrong .here is my source code,I dont know why it is wrong,help me please

#include<stdio.h>
#include<math.h>
void main()
{
int n,touches_circle,k;
long a=0,b=0;
double radius,temp;
while(scanf("%d",&n)==1)
{
touches_circle = 8*n-4;
if(touches_circle<0)touches_circle=0 ...

Go to advanced search