Write a program in c++ that ask the user to type 10 integers of an array and an integer value X, the program must put the value X in the index 0, shifting each element right and dropping of the last element. The program must write the array before and after shifting ?

plz hlp me to solve it .

@A_8, that's a little demanding. Your post sounds like you asking folk to do this. Maybe you copied the homework and forgot to share how far you got and where you are stuck.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.