Computer Science, asked by adityasenJAJANKEN, 1 year ago

Write a program which can compute the factorial of a given numbers.<br />The results should be printed in a comma-separated sequence on a single line.<br />Suppose the following input is supplied to the program:<br />8<br />Then, the output should be:<br />40320
Please help anyone
board is on the way ​

Answers

Answered by knika7777
0

We have seen how to create string using elements of an array. Now we will see how to create an array from a string by using some delimiter. For this we will use split() method which works on a string and create array out of it. This is one of the method used to create an array. Here is the basic syntax for using split() method.Here one space is used as delimiter for creating an array. Now let us use one string variable to store a sentence and create an array out this by using one space as delimiter in a split() method. Here is the complete code for this.

Similar questions