Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started