Systematic studies on the gain and the energy resolution have been carried out varying the voltage across the GEM foils for both single mask and double mask triple GEM detector prototypes. Variation of the gain and the energy resolution have also been measured varying either the drift voltage, transfer voltage and induction voltage keeping other voltages constant. The results of the systematic measurements has been presented.