Question: Assign the size of vector sensorReadings to currentSize. #include #include using namespace std; int main() { vector sensorReadings(4); int currentSize = 0; sensorReadings.resize(10); /* Your
Assign the size of vector sensorReadings to currentSize.
#include
#include
using namespace std;
int main() {
vector
int currentSize = 0;
sensorReadings.resize(10);
/* Your solution goes here */
cout << "Number of elements: " < return 0;
}
Step by Step Solution
3.52 Rating (162 Votes )
There are 3 Steps involved in it
include include using namespace std int main create a vect... View full answer
Get step-by-step solutions from verified subject matter experts
