hey Im getting some errors that dont make sense to me and i dont know how to fix
ill post my code and then the errors
#include%26lt;iostream%26gt;
#include%26lt;fstream%26gt;
using namespace std;
void tally(int%26amp;,int%26amp;,int%26amp;,int%26amp;,int%26amp;,int%26amp;,int%26amp;...
void print(int, int, int, int);
int main() {
cout%26lt;%26lt;"CS-114 Ballot Counter"%26lt;%26lt;endl%26lt;%26lt;endl;
int p1,p2,vp1,vp2,s1,s2,t1,t2,j1,j2,sen1,sen...
cout%26lt;%26lt;endl%26lt;%26lt;endl%26lt;%26lt;"Here's the race for the Presidency:"%26lt;%26lt;endl;
print(1, 2, p1, p2);
cout%26lt;%26lt;endl%26lt;%26lt;endl%26lt;%26lt;"Here's the race for the Vice Presidency:"%26lt;%26lt;endl;
print(3, 4, vp1, vp2);
cout%26lt;%26lt;endl%26lt;%26lt;endl%26lt;%26lt;"Here's the race for the Secretary:"%26lt;%26lt;endl;
print(5, 6, s1, s2);
cout%26lt;%26lt;endl%26lt;%26lt;endl%26lt;%26lt;"Here's the race for the Treasurer:"%26lt;%26lt;endl;
print(7, 8, t1, t2);
cout%26lt;%26lt;endl%26lt;%26lt;endl%26lt;%26lt;"Here's the race for the Judge:"%26lt;%26lt;endl;
print(9, 10, j1, j2);
cout%26lt;%26lt;endl%26lt;%26lt;endl%26lt;%26lt;"Here's the race for the Senator:"%26lt;%26lt;endl;
print(11, 12, sen1, sen2);
}
I need help with a c++ program please?
What are the errors?
bottle palm
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment