Change List
Може ли някой да ми кааже защо ми гърми задачата ?
Ето условието:
Write a program, which reads a list of integers from the console and receives commands, which manipulate the list.
Your program may receive the following commands:
Delete {element} – delete all elements in the array, which are equal to the given element
Insert {element} {position} – insert element and the given position
You should stop the program when you receive the command Odd or Even. If you receive Odd print all odd
numbers in the array separated with single whitespace, otherwise print the even numbers.
Ето и кода ми :
https://pastebin.com/LDLFtm7U
Добре оправих си го . Благодаря ти много !