+ 1
How to solve this?
An array will take user input and size of the array. The array then will convert the user input into a new array with a new values. For example, the user choose 3 as the size of the array, then insert 3 character values. Then, the array will convert characters into a string and store back/into a new array. Expected output should be like this: A BA CBA
16 odpowiedzi
+ 6
Intan Zulaikha Faz To make a String concat them.
+ 5
AttemptError: No attempts found
+ 3
Please check my program
https://code.sololearn.com/c4eYFr4r7ATE/?ref=app
https://code.sololearn.com/cvPfpXqRAbwk/?ref=app
+ 2
Intan Zulaikha Faz Here is the solution with String. But you can try with array also.
https://code.sololearn.com/cQaP0G6zrvdw/?ref=app
+ 1
Intan Zulaikha Faz
Please show us your code. Or explain which part of this task is too difficult for you.
+ 1
I think it can be easy to contribute if you give us your code...
+ 1
Intan Zulaikha Faz the programming language in which you solve it does not matter. What matters is understanding how it works. Chose one language, and solve it in different ways, not the opposite.
0
Nice solution 🅰🅹 - ɪ'ᴍ ᴄʀɪᴍɪɴᴀʟʟʏ ɢᴏᴏᴅ! .
But how to try the array?
I managed to create an array which stores the char input from the user but i having problem to convert the char into String and store back into the array.
0
𝕵𝖆𝖓 𝕸𝖆𝖗𝖐𝖚𝖘
Thanks for the reply but I don't have a premium membership so i can't view the solution 😅
0
Okay, i will try first. Thanks bro
0
hossein B will check it soon
0
Dejos Dowo i can give you all my code but sadly it can't runs in this app which that mean you need to try it on the laptop or pc
0
Intan Zulaikha Faz just share it here. Also, you tagged 4 languages, which one are you actually using ?
0
Aymane Boukrouh [Unavailable] okay then. I tagged 4 languages because i want to know how to solve it in different ways 😂
0
Aymane Boukrouh [Unavailable] thats my point actually 😂 i will post my code soon
0
This is some of my sample code. I'm having problem with all the tasks given. I guess maybe because I can't solve the first task 😭😭
https://code.sololearn.com/ccKNMmu0JZbn/?ref=app