public static int addMarks(int index, String value) {
		if ((index < 0 && index > 9)
				|| (Float.valueOf(value) < 0 && Float.valueOf(value) > 20))
			return 0;
		marks[index] = value;
		return 1;
	}