Array-promo

Question

Delete Element from (array for java/ list for Python) at the position given by the user.

				
					Enter size of array
5
Enter numbers in array
1:10
2:20
3:30
4:40
5:50
Elements given in Array:
10 20 30 40 50 
Enter Position to be deleted:
3
array after deleting element in given position
10 20 40 50 
				
			

Share code with your friends

Share on whatsapp
Share on facebook
Share on twitter
Share on telegram

Code

Coding Store

10-minute Stress-Buster Games