Question: I tried to write a findlargest function using recursion and varible ii is the size of array, but it did not work. I guess my
I tried to write a findlargest function using recursion and varible ii is the size of array, but it did not work.
I guess my problem is "arr[i]=apple[i].v()" but I don't know why it's wrong


![my problem is "arr[i]=apple[i].v()" but I don't know why it's wrong int](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66ef7ae4e9fff_59666ef7ae48e146.jpg)
int ii-0 class complexType private: float realnumber-0; float imaginarynumber-0; float value-realnumberrealnumber imaginarynumber imaginarynumber; public: complexType(float real-e,float imaginary 8) real-reaInumber imaginary-imaginarynumber void setcomplex float real, float imaginary rea Inumbererealj imaginarynumber=imaginary; float v() const return value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
