Search:

Type: Posts; User: Sonny

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    71
    Views
    25,423

    So basically if the counters are declared at the...

    So basically if the counters are declared at the top of my program, I don't need to declare them again inside the loops?
  2. Replies
    71
    Views
    25,423

    Yeah I agree, thanks a bunch! You don't know how...

    Yeah I agree, thanks a bunch! You don't know how much it is appreciated. Maybe in the near future i'll be helping you. :P
  3. Replies
    71
    Views
    25,423

    May I ask why you initiated the loop = 0; in both...

    May I ask why you initiated the loop = 0; in both the variable declaration at the top and in the first do-while loop?
  4. Replies
    71
    Views
    25,423

    Oh dang, I didn't even see this. If I may ask...

    Oh dang, I didn't even see this. If I may ask what did you change around?
  5. Replies
    71
    Views
    25,423

    That's the thing this isn't a difficult problem,...

    That's the thing this isn't a difficult problem, but it's just the little things that are getting me into trouble. I wrote the program myself and only in the most direst circumstance when every other...
  6. Replies
    71
    Views
    25,423

    I know dude haha, i've been trying to figure out...

    I know dude haha, i've been trying to figure out what's wrong for over 3 hours now and my assignment is due tomorrow. I'm stressing out right now no time to go through it and plan it out again. :P
  7. Replies
    71
    Views
    25,423

    do { totalPrint = 0; for (m = 1; m

    do {
    totalPrint = 0;

    for (m = 1; m < 6; m++)
    {
    printf("Enter Mark #%d: ", m);
    scanf("%f", &mark);
    while (mark > 20 || mark < 0)
    {
    printf("Invalid...
  8. Replies
    71
    Views
    25,423

    Ok so should the section calculation be inside...

    Ok so should the section calculation be inside the nested do-while loop? Same with the course calculation or outside their respective do-while loops?
  9. Replies
    71
    Views
    25,423

    I have tried putting it everywhere, before the...

    I have tried putting it everywhere, before the for loop after the for loop and the average for the school is still the same. :s

    Are you sure it has something to do with the placement of;...
  10. Replies
    71
    Views
    25,423

    I have no clue bud, i'm in the dark here. :(

    I have no clue bud, i'm in the dark here. :(
  11. Replies
    71
    Views
    25,423

    Guys I finished my assignment but while changing...

    Guys I finished my assignment but while changing the variable names I think I messed something up and now the calculations are wrong and I seriously can't figure out what happened. For instance, when...
  12. Replies
    71
    Views
    25,423

    Exactly.

    Exactly.
  13. Replies
    71
    Views
    25,423

    No of course i'm going to follow my syllabus as...

    No of course i'm going to follow my syllabus as well. I meant that I learn better by doing rather than seeing it in a textbook. So what I can do is probably look up exercises in the text book and try...
  14. Replies
    71
    Views
    25,423

    Yeah definitely, I have this 1000 page text book...

    Yeah definitely, I have this 1000 page text book and going through it is not fun at all. You're right I should try to make a game.
  15. Replies
    71
    Views
    25,423

    Well said.

    Well said.
  16. Replies
    71
    Views
    25,423

    Yeah my prof keeps telling me it's about...

    Yeah my prof keeps telling me it's about practice. Doing a few programs everyday but it gets really tedious after a while I don't know how you guys do it.
  17. Replies
    71
    Views
    25,423

    lmaoo! I can't even properly take a leak when i'm...

    lmaoo! I can't even properly take a leak when i'm drunk...I will bud thank you. :)
  18. Replies
    71
    Views
    25,423

    Very efficient. :P haha thanks a lot for the help...

    Very efficient. :P haha thanks a lot for the help guys. Hopefully after a little more experience I can help future noobs like you're helping me. :)
  19. Replies
    71
    Views
    25,423

    I did and it works perfectly. How'd you decipher...

    I did and it works perfectly. How'd you decipher it so fast? :)
  20. Replies
    71
    Views
    25,423

    Before the do while loop?

    Before the do while loop?
  21. Replies
    71
    Views
    25,423

    I AM the program. lol I just posted my updated...

    I AM the program. lol I just posted my updated code on the last page I fixed it. :)
  22. Replies
    71
    Views
    25,423

    So i'm good right? Even with the two student ID...

    So i'm good right? Even with the two student ID prompts? Is there any way around that?
  23. Replies
    71
    Views
    25,423

    Yeah but look at this, it's a sample from my...

    Yeah but look at this, it's a sample from my assignment;
    As you can see it asks for the Section code (without 0 to exit) and then asks again with the zero to exit. How do I do that? :s

    Enter the...
  24. Replies
    71
    Views
    25,423

    It's working perfectly now, I just added another...

    It's working perfectly now, I just added another part into the program it's working fine too. Tell me what you think.

    Oh btw should the part in bold be after the validation loop or before?


    ...
  25. Replies
    71
    Views
    25,423

    Yeah when you put it that way...what I did,...

    Yeah when you put it that way...what I did, doesn't really make too much sense. :P
    Do you know anything about segmentation errors? I keep getting them when I run my program on linux. :s
Results 1 to 25 of 38
Page 1 of 2 1 2