int s;
float pore_rad;
main()
{
  printf("\nInput the radius of the pore which is odd number times 3.5: ");
  scanf("%f", &pore_rad);
  printf("For the pore radius=%.1fA we have the following...\n",pore_rad);
  s=(pore_rad/3.5 +1)/2;
  printf("# of atoms taken out is: %d\n",(3*s*s-3*s+1)*10);
  printf("# of charge taken out is: %d\n",(3*s*s-3*s+1)*2);
  printf("# of charge put in is: %d\n",s*6*8);
  printf("# of charge that should be removed (scg  rem) is: %d\n",-(3*s*s-3*s+1)*2+s*6*8);
  printf("# of (por  sur) is: %d\n",s*6*10);
  printf("# of (add  mas) is: %d\n",(3*s*s-3*s+1)*10);
}

    
