This is very rough code just to give you an idea. Ignore things that may make no sense I'll edit it again soon.#include <iostream>
#include <string>
#include <vector>
using namespace std;
string get_string_input(vector<string> strings);
float averageFunc(vector<float> floating);int main()
{...
Hey friend, 1. You might want to Try declaring the variables wallHeight, wallArea, gallonsPaintNeeded, and cansNeeded without the 0.0 like so:
(
double wallHeight;
double wallWidth;
double wallArea;
double gallonsPaintNeeded;
int cansNeeded;
)
2. There's an error...
Hi, beginner coder here. I have a somewhat solid understanding of both vectors and functions, and have used the two of them many times, but I'm have trouble coding functions that have vectors in their parameters and as their return values.
Another thing I'm having trouble with is calling the...