Course Solutions Uncategorized (Solved) : Code Works Shell Doesn T Work Pico C Editor Cpp Compiler Errors Get Topdivarraycpp 81 71 M Q27656523 . . . .

(Solved) : Code Works Shell Doesn T Work Pico C Editor Cpp Compiler Errors Get Topdivarraycpp 81 71 M Q27656523 . . . .

 

so my code works in shell but doesn’t work in pico c++ editor.cpp compiler

these are the errors i get:

top_div_array.cpp:81:71: missing terminating ” character
top_div_array.cpp:82:2: missing terminating ” character
top_div_array.cpp: In function `void print_result(float*,std::string*, int)’:
top_div_array.cpp:82: error: syntax error before stringconstant
gen242@cs04:~>

and this is my code:

//poonam patel
//cs 102 spring
//calculates highest divisions sales using array and prototypesfunction

//libraries
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;
  
//function prototypes
void populate_div_sales(float[], string[], int);
int findHighest (float[], int);
void print_result(float[], string[], int);

int main()
{
int top_div_index = 0;
float div_sales[4];
string div_regions[4];

//arrays for regioons
div_regions[0] = “Northeast”;
div_regions[1] = “Southeast”;
div_regions[2] = “Northwest”;
div_regions[3] = “Southwest”;

//function
populate_div_sales(div_sales,div_regions,4);
//debug
cout<<“debug print for arraydiv_sales_array”<<endl;
for (int i=0; i<4; i++)
{
cout<<div_sales[i]<<endl;
}
top_div_index = findHighest(div_sales,4);
cout<<“debug fortop_div_index:”<<top_div_index<<endl;

print_result(div_sales, div_regions, 4);

return 0;
}
//division sales
void populate_div_sales(float f_div_sales[], stringf_div_regions[], int

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Following Observations Obtained Conducting Two Way Anova Experiment Interaction Click Fact Q33389609 . . . .(Solved) : Following Observations Obtained Conducting Two Way Anova Experiment Interaction Click Fact Q33389609 . . . .

<br/><img src="https://media.cheggcdn.com/media%2F23d%2F23d52263-4cf6-40a4-b059-5a7ea732f77a%2Fimage.png" alt="The following observations were obtained when conducting a two-way ANOVA experiment with no interaction. Click her Factor A Factor B for Factor B 10 15 2.500 7.750 13.750

(Solved) : 619 Current Density Conducting Medium Given 22x Cos Wt Q32430832 . . . .(Solved) : 619 Current Density Conducting Medium Given 22x Cos Wt Q32430832 . . . .

Pls I need it step by step solution on the answerThank you<img src="https://media.cheggcdn.com/media%2F1c7%2F1c7e109d-0904-4421-8148-53e7b1cb750c%2Fimage.png" alt="6.19 If the current density in a conducting medium is given by 22x) cos wt" aria-describedby="d3f"/><img src="https://media.cheggcdn.com/media%2Ff81%2Ff814be46-0237-44fb-a5ed-de3e9f295f2e%2Fimage.png"

(Solved) : Given Structural System Calculate Horizontal Bearing Force Load Support Given Angle 11 Fo Q32967589 . . . .(Solved) : Given Structural System Calculate Horizontal Bearing Force Load Support Given Angle 11 Fo Q32967589 . . . .

<p><img alt="" src="https://media.cheggcdn.com/media%2Fa75%2Fa756fec0-d14e-4786-bac4-022a66ec4428%2FphpCdOOG9.png" style="height:705px;width:1024px;"/></p><p>given is this Structural System.</p><p>calculate the horizontal bearing force (load) on support A.</p><p>given:<br/>angle: 11<br/>force F = 37kN<br/>r=6m</p>Show transcribed image text Expert Answer Answer to given