se podria hacer que el usuario nos diera la longitud,intente hacerlo como en java pero no me deja y no se me ocurre otra forma | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

se podria hacer que el usuario nos diera la longitud,intente hacerlo como en java pero no me deja y no se me ocurre otra forma

https://code.sololearn.com/c9bFQP449G5P/?ref=app

13th Jul 2022, 4:13 PM
Jesus
2 Answers
+ 1
i try that the user give me the length of the array but i dont pass the array length with inialize a concret number of elements
15th Jul 2022, 4:10 PM
Jesus
+ 1
the program realizes that the user give me the lenght,the inferior limit and the superior limit and create a array with this parameters
15th Jul 2022, 4:13 PM
Jesus