Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners How to move a value in array?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Grazie Lo
How to move a value in array?
0 Answer(s)      3 years and 2 months ago
Posted in : Java Beginners


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:)


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com