prog.cpp:7:42: error: ‘static float Lamp::operator/(Lamp, Lamp)’ must be either a non-static member function or a non-member function
static float operator/(Lamp a, Lamp b);
^
prog.cpp: In function ‘int main()’:
prog.cpp:20:5: error: ‘Arr’ was not declared in this scope
s = Arr[j] / Arr[k];
^~~
prog.cpp:20:9: error: ‘j’ was not declared in this scope
s = Arr[j] / Arr[k];
^
prog.cpp:20:18: error: ‘k’ was not declared in this scope
s = Arr[j] / Arr[k];
^