Jump to content

graphiteg4

Active Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

730 profile views

graphiteg4's Achievements

Newbie

Newbie (1/14)

  1. I figured it out if any one want i can post the answer
  2. this is the objective of the program Create a program to compute final grades for a class. Professor Logan assigns 10 homework assignment, 2 projects and a final exam. He computes an average for the 10 homework assignments, and an average for the two projects. He then averages those two grades together with the final exam grade to get a final grade for the course. Mr. Jones does NOT know how many students he will have in a class, however, he does know that he will never have more than 50 students, so you should dimension your arrays to hold the data for 50 students. Your output, however, should show the info for 5 students. this what i got i got some kind of error going on im pretty sure my logic is right #include <iostream> #include <iomanip> using namespace std; int main () { int id[50]; int i; int j; int k; float hw [10]; float final[50]; float hwAve[50]; float finalAve[50]; float hwtotal=0; float projTotal=0; float projAve[50]; for (i=0; i<50; i++){ projAve=0; hwAve=0; finalAve=0; //id=0; } cout << "please enter the students id : " <<endl; cin>> id; while (id!=0){ for (j=0; j<2; j++){ cout << "please enter the hw grade"<<endl; cin >> hw[j]; hwtotal=hwtotal+hw[j]; } hwAve=hwtotal/10.0; for (k=0; k<2; k++){ cout<<"Please enter project grade"<<endl; cin>>proj[k]; projTotal=projTotal+proj[k]; } projAve=projTotal/2; cout<<"please enter a grade for a final grade"<<endl; cin>>final; finalAve=((hwAve+projAve+final)/3); i++; cout << "please enter the students id : " <<endl; cin>> id; } for (i=0;i<50;i++) { cout<<id<<endl; cout<<hwAve; cout<<finalAve<<endl; } return 0; }
  3. lol i just might. maybe even slap an evil server sticker on it
  4. that's what i figured just was hoping some one had already done it. thought it might be an interesting project. thanks
  5. true but because you built it your self it can be multifunctional and not just a xbox. also this might be a fallacy in this situation but many cases especially in the computer world you can build your own kick ass machine for half the cost of you might pay if you were to purchase it from a dealer such as HP or Apple. also were is Microsoft loosing the money. i doubt that it is the hardware of the machine itself but rather the hundreds of man hours that were put into it to build the Xbox OS and platform. but i don't know ill have to do some more Home work on the matter and u don't know until some one tries.
  6. I am interested in for the sake of doing to build mine own Xbox 360 from scratch. I have done a little home work so far but not a whole lot. interested in what you think before i put some effort into it. also, on the matter of building one I haven't really found a whole a lot on the subject. mostly on modify xboxes right out of the package. rather i want to build it right from the beginning starting with the hardware and if need be modify the xbox 360 software to run on it. after all isn't the Xbox an old mac tower runnig windows. What i am looking for. 1) does any one no if any one has attempted to do this and succeeded and were the plans can be found. (whether its a Xbox like machine or some sort of virtual Xbox running on a machine) 2) reasons why this wouldn't work 3) your own two cents it might just be a waste of time and resources but hey im just a lonely computer science major trying to kill his sring break.
×
×
  • Create New...