Question: Intro to C++ programing question: Here is the code I tried to run #include #include using namespace std; int main() { float weights[20]; float mx;

Intro to C++ programing question:

Here is the code I tried to run

#include #include using namespace std;

int main() { float weights[20]; float mx; int counter = 0; string a = "yes"; while (a == "yes") { cout= 20) { cout>weights[counter]; cout mx) { mx = weights[counter]; } counter = counter + 1; } else { a = "no"; } } } cout

Then I GOT AN ERROR

 Intro to C++ programing question: Here is the code I tried

when I checked the solution manual, It looks like I added all materials I needed for the running. so could you tell me what I missed?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!