I couldnt quite figure out where to ask this question, since there isint a Newbie Programming area, so I figured here was the safest place.

I'm writing a program in c which determines the volume of cylinders made from PVC. I have three large arrays that store the Inside Diameter of Schedule 40,80, and 120 pipe. Is there an easier way than having such large arrays, perhaps reading the values from a file? I'm still very new to C so any help is greatly appreciated