+ 1

Write a program to delete an element in an integer array .the position of the element to be deleted should be specified by user

16th Nov 2017, 3:20 PM
kulu
kulu - avatar
3 odpowiedzi
+ 5
Does not work like that. You can have assistance with YOUR code. Do not expect users to do the work for you.
16th Nov 2017, 3:38 PM
Manual
Manual - avatar
+ 2
Using array.splice(parseInt(prompt("index")), 1) you can do that but I agree with Manual
16th Nov 2017, 3:50 PM
Αητοιπe
Αητοιπe - avatar