B
B
billt2017-05-06 15:20:08
JavaScript
billt, 2017-05-06 15:20:08

How to calculate the number of variations of shirts when tailoring on js?

Hello, I need to make a calculator for the number of shirt variations in js. There are no problems with js, but I can’t figure it out with the formula. I need a formula for calculating the total number of shirts.
For example, there are short and long sleeves, 6 shirt elements (collar, sleeves, etc.), 3 options for each element and plus 3 letters of the Latin alphabet, that is, 26 more options for each letter. Give a formula to calculate the total number of shirts that will come out with that many variables.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
longclaps, 2017-05-06
@billt

короткий и длинный рукав => 2
6 элементов рубашки, 3 варианта каждого элемента => 3^6
3 буквы латинского алфавита => 26^3
итого  2 * 3^6 * 26^3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question