Question: c++ code. just do the number of faulty data loop and explain using only vectors and functions. In this lab, you will get used to

c++ code. just do the number of faulty data loop and explain using only vectors and functions.  c++ code. just do the number of faulty data loop and

In this lab, you will get used to writing codes with functions. Since this can get messy, I am allowing unlimited submissions on this lab So sort out the messy stuff here, so you can work within the 10 submission limit on Project 7 In this lab, you will be writing two functions A printData fixFaulty Please read the code template for a full description of these functions In the main function, you are given a small vector of sample data After writing the two functions above, you should call both of them in main to produce the following output Before Processing: 14.4, 45.6, 65.3, -99, 45.6, 34.1, 56.9, 43.6, -99, 99, 12.3 After Processing: 14.4, 45.6, 65.3, 45.6, 34.1, 56.9, 43.6, 12.3 Number of faulty data: 3 My main function has only 6 additional lines of code beyond the starter code If you have more than that, you are probably functions properly Your functions will be tested on more data than just the vector provided in the sample code. Therefore, make sure you read the function

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!