Hello! Help, please, write the program code to delete all even elements in the array. Here is the program code itself:
#include <vcl.h> #include <iostream.h> #include <conio.h> #include <stdlib.h> char* Rus(const char* text); void main() { int a[100]; int i,n; randomize(); cout << Rus(" Введите n: "); cin >> n; for (i=0; i<n; i++) a[i]=random(100); for (i=0; i<n; i++) cout<<a[i]<<" "; getch(); } char bufRus[256]; char* Rus(const char* text) { CharToOem(text,bufRus); return bufRus }