Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Is this code meant to run for a console application? After trying to build this

ID: 3617368 • Letter: I

Question

Is this code meant to run for a console application? After trying to build this solution, I am running into maybuild errors, error C2059: syntax error: ']'    //hitmultiple times error C3861: 'input': identifier not found //hit for allfunction prototypes Is this code meant to run for a console application? After trying to build this solution, I am running into maybuild errors, error C2059: syntax error: ']'    //hitmultiple times error C3861: 'input': identifier not found //hit for allfunction prototypes

Explanation / Answer

please rate - thanks it now compiles, and actually runs pretty nicely for a firstshot. Things were in the wrong place, declared wrong. I mostlymoved things around In the future. for a large program like this, do a little at atime. It will make life much easier #include #include #include using namespace std; struct monthlyRain { int month; double rainFall; double avgRainFall; }; void outputBargraph(monthlyRain [], int ); void input(monthlyRain [], int& ); void outputTable(monthlyRain [], int& ); void fullMonthName(int); void monthName( int ); int main () { int currentMonth; monthlyRain rainfall[12]; char ans, tg; do { input(rainfall, currentMonth); cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote