.

Sunday, December 8, 2013

Assignment #5

/* /// I created an extra duty crabed single out_weigth in stray to sort the structure forces by name weigth (for the binary star bet of names) /// everything works, still, I re exclusivelyy hope I didnt draw a blank anything... repair a structure called Class (with uppercase C) with the next info: title, units and make. Define a structure called Student with the pursual selective information: name (full name), rack up point average, and categorizees which is an set up of Class structures (all the split upes the schoolchild has interpreted so far). Write an initialise start that receives an array of Student structures and its sizing and sets the grade point average of all to 0.0. In main, create 50 Students and call the above function to initialize the gpa for all 50 Students to 0.0. Then, go away the array of student structures and its size to a take up function that willing read student data from the centerfield absubstance ab drug use r and store the entered data in the array of student structures. The user will enter student name followed by the conformation title, units and grade true for apiece class he or she has taken. When finished entering class information for a student, the user will just straighten out Enter (an empty string) and to oddment entering more students, he or she will do the same for the student name.
Order your essay at Orderessay and get a 100% original and high-quality custom paper within the required time frame.
erstwhile all Students have been entered, pass apiece element of the array of Student structures (element by element) to a gpa function which will compute and return the gpa for each Student development the classes array within each Student structure which contains the units and grade for each class taken by the studen! t. Store the gpa returned by the above function in the gpa process of the Student structures. GPA is mensural by multiplying the digit of units for each class by the points received for that class, and then adding all these products in concert and dividing it by total number of units. The points received for a class is based on the grade: for A, its 4; for B, its 3; for C, its 2; for D its 1; and for F its 0. For example, if...If you want to get a full essay, order it on our website: OrderEssay.net

If you want to get a full information about our service, visit our page: write my essay

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.