Enter value at the End: 5
Display Array Elements Index at [0]0 Index at [1]0 Index at [2]0 Index at [3]5
Enter value at the End again 8
Display Array Elements Index at [0]0 Index at [1]0 Index at [2]5 Index at [3]8
Enter value at the beginning: 7 Index at [0]7 Index at [1]0 Index at [2]5 Index at [3]8
Enter value at the beginning: 1 Display Array Elements Index at [0]1 Index at [1]7 Index at [2]5 Index at [3]5
--- theres something wrong...pls help me fix this problem. when you insert value at the beginning which is 1 ,so it will input like this: Index at [0]1 Index at [1]7 Index at [2]5 Index at [3]8
and when i enter 0 in last index it will move and if i enter again zero in last index it will not move anymore... pls help..thank you:)
Ads