Search Results

Showing results 1 to 9 of 9
Search took 0.02 seconds.
Search: Posts Made By: cyberman111 ; Forum: C and child forums
Forum: C May 3rd, 2007
Replies: 17
Views: 2,060
Posted By cyberman111
I DID ALL BYMYSELF LOL JK NARUE THANK YOU VERY MUCH YOUR GUIDENCE HELPED ALOT
LOOK AT THE OUTCOME
double sum = 0;
for (x=0; x<2; x++)
{
double avg = ( st[x].assignment + st[x].quiz1 +...
Forum: C May 3rd, 2007
Replies: 17
Views: 2,060
Posted By cyberman111
i relized it was just a simple mistake at teh begging of the code i had set it to 25 studetns but by the time i got to the bottom i just put in a random number of students

now i am done with that...
Forum: C May 3rd, 2007
Replies: 17
Views: 2,060
Posted By cyberman111
hey it worked narue yo the man
i figur wat was wrong i had the tot # of student to 25 so i changed it all to 2 and it worked
now how do i place ** next to the ones with 95 %
Forum: C May 3rd, 2007
Replies: 17
Views: 2,060
Posted By cyberman111
/*for (x=0; x<2; x++)
{
if (st[x].id == 0)
break;
printf("\n %ld ", st[x].id);
printf("\t %s ", st[x].name);
printf("\t %.1f ", st[x].assignment); //print average instead and *** when >95
} ...
Forum: C May 3rd, 2007
Replies: 17
Views: 2,060
Posted By cyberman111
also it is givin me the wrong output

i need to list the avg of all the students entered with a *** next to the ones with 95% or higher
Forum: C May 3rd, 2007
Replies: 17
Views: 2,060
Posted By cyberman111
so why do u divede by 5 not 3
Forum: C May 3rd, 2007
Replies: 17
Views: 2,060
Posted By cyberman111
ok lets see
so far i got this as your alredy know now where do i start, like how do I total the avg for all students.

struct student
{
long id;
char name[26];
float assignment;
float...
Forum: C May 3rd, 2007
Replies: 17
Views: 2,060
Posted By cyberman111
lol its not homework school is done lastweek
I just had this problem left over and couldt seem to get the avg of all the students also the *** beside all who scored over 95

i did this program...
Forum: C May 3rd, 2007
Replies: 17
Views: 2,060
Posted By cyberman111
at the end of this program we have to add the average of all the students* add and divide by 3* also put a ** next to student who have over 95 % both thses should be displayed at the end
so...
Showing results 1 to 9 of 9

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC