+ 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

14th Dec 2019, 11:51 AM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
16 ответов
+ 6
Intan Zulaikha Faz To make a String concat them.
15th Dec 2019, 4:26 AM
A͢J
A͢J - avatar
+ 5
AttemptError: No attempts found
14th Dec 2019, 12:03 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 2
Intan Zulaikha Faz Here is the solution with String. But you can try with array also. https://code.sololearn.com/cQaP0G6zrvdw/?ref=app
14th Dec 2019, 7:02 PM
A͢J
A͢J - avatar
+ 1
Intan Zulaikha Faz Please show us your code. Or explain which part of this task is too difficult for you.
14th Dec 2019, 12:22 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
I think it can be easy to contribute if you give us your code...
16th Dec 2019, 11:43 AM
Joseph D.E
Joseph D.E - avatar
+ 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.
16th Dec 2019, 1:13 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
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.
15th Dec 2019, 4:07 AM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
0
𝕵𝖆𝖓 𝕸𝖆𝖗𝖐𝖚𝖘 Thanks for the reply but I don't have a premium membership so i can't view the solution 😅
15th Dec 2019, 4:09 AM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
0
Okay, i will try first. Thanks bro
15th Dec 2019, 4:43 AM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
0
hossein B will check it soon
15th Dec 2019, 9:41 PM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
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
16th Dec 2019, 12:41 PM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
0
Intan Zulaikha Faz just share it here. Also, you tagged 4 languages, which one are you actually using ?
16th Dec 2019, 1:05 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
Aymane Boukrouh [Unavailable] okay then. I tagged 4 languages because i want to know how to solve it in different ways 😂
16th Dec 2019, 1:10 PM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
0
Aymane Boukrouh [Unavailable] thats my point actually 😂 i will post my code soon
16th Dec 2019, 1:26 PM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
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
16th Dec 2019, 4:52 PM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar