How to replace a number in a given array by another number and print the new array again? Write a code. | Sololearn: Learn to code for FREE!
+ 1

How to replace a number in a given array by another number and print the new array again? Write a code.

4th Jul 2019, 9:02 AM
aman sarkar
7 odpowiedzi
+ 5
Your link seems to be invalid. Can you check it?
4th Jul 2019, 9:49 AM
Lothar
Lothar - avatar
+ 4
Can you share your code?
4th Jul 2019, 9:24 AM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Line 6: check your for loop. You are using { } instead of ( )
4th Jul 2019, 10:10 AM
Denise Roßberg
Denise Roßberg - avatar
+ 2
Hello there. This app is not made so others can make your homework, but to help you. Please try to do it on your own first :/
4th Jul 2019, 9:11 AM
Airree
Airree - avatar
+ 1
Its not about any homework. I just did it, but its showing error again and agains. So i want to know the right code. Btw thanku.
4th Jul 2019, 9:15 AM
aman sarkar
+ 1
Oooppss.... I've done a silly mistake...thanks btw
4th Jul 2019, 10:19 AM
aman sarkar
4th Jul 2019, 9:58 AM
aman sarkar