Question: To be done in C++ Write a file(vLoad.cpp) with a vector function that does the following to be called from the main. 1. Load N
To be done in C++ Write a file("vLoad.cpp") with a vector function that does the following to be called from the main. 1. Load N values from the keyboard into the vector named First. NOTE: N must be >= 0. Prompt before starting: "Enter N, the #values (must be >= 0): " Prompt for each value: "Enter next value: " Function prototype should be: void vLoad(vector & A); Create another file that calls this function in the main (contains #include "vLoad.cpp") and include 5 test cases
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
