void Function5(double ar[], int size) {
for (int i = size; i > 0; --i) {
if (ar[i] < 0) {
cout << i << " ";
return;
}
}
}
void Function5(double ar[], int size) {
for (int i = size-1; i >= 0; --i) {
if (ar[i] < 0) {
cout << i << " ";
return;
}
}
}