# include %26lt; iostream%26gt;
using namespace std ;
using std :: cout;
using std :: cin;
using std :: endl;
class student{
public:
bool ok;
bool woman;
bool instudy;
int finalchoice ;
int a;
bool success;
string name ;
int grade ;
int choice[9] ;
student(){
instudy=false;
ok= false ;
success = true ;
woman = true ;
finalchoice = 0;
a=1;
}
}
int calcu(int ,int ,bool ,int , student [] );
void main (){
student students[800];
int s[]={60,80,40,40,40,60,50,80,50};
int xx[9];
int yy[9];
for(int i=0; i%26lt;800; i++){
cout%26lt;%26lt;"enter student name ";
cout%26lt;%26lt;" enter the student grade ";
cin%26gt;%26gt; students[i].grade;
cout%26lt;%26lt;" put the choices (1.......9)";
for(int j=0;j=9;j++){
cin%26gt;%26gt;students[i].choice[j];
}
}
int x=240,y=240;
for(int k=1;k%26lt;=9;k++){
int fcounter = 0; int mcounter=0;
for( int i=0;i%26lt;800; i++)
if(students[i].choice[i]-1==k)
if(students[i].woman == true ){
Please help in c++ I have this code with some mistakes help i don't have time!!!?
You could increase the chance of your question being answered by being a lot more specific about the problem.. Compile time error, run-time error..? Asking people to copy and paste and into their c++ compilers and compiling and running it is asking a bit too much... =P
so what EXACTLY is the problem?
Reply:who is even gonna look at that?? what are you , sitting in an exam room??
Reply:May be you can contact a C++ expert at websites like http://getafreelnacer.com/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment