I have to fill 3 slots slot1 can be filled with 'a' or 'b' slot2 can be filled with 'x','y' or 'z' slot3 can be filles with 'p','q', 'r' or 's' So the valid combinations are axp axq axr axs ayp ayq ayr ays bxp bxq ... and so on How can I generate all such combinations
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)