Search:

Type: Posts; User: tuxdeep

Search: Search took 0.00 seconds.

  1. Adding if (0 == lowrange % thirdInteger) { ...

    Adding

    if (0 == lowrange % thirdInteger)
    {
    numberRep++;
    }



    to my code fixed it, but it is only capable of calculating how many numbers are divisible with one third integer value.
  2. Determine how many numbers in a range are divisible by a third - loop help

    Hello, the following may come off as a homework question but in reality I just need some help with loops. I've pretty much finished the entire program, except for the actual calculation part.
    ...
  3. Replies
    4
    Views
    1,484

    Thanks a lot, you've been a great help. I'll...

    Thanks a lot, you've been a great help. I'll practice some more tomorrow.
  4. Replies
    4
    Views
    1,484

    Thanks, I kind of get it, but I have another...

    Thanks, I kind of get it, but I have another quick question.

    In
    int getlowR()
    {
    int lowRange;

    printf("Enter the low range value:");
    scanf("%d", &lowRange);
    return(lowRange);
  5. Replies
    4
    Views
    1,484

    Function to return user input in C

    Firstly, I'd like to say that I'm relatively new to functions and my course standards state that I'm now supposed to relay information from the user to the program via functions, this means that I'm...
  6. It's due today, and I posted this a week ago. I...

    It's due today, and I posted this a week ago. I did all I could to it and I'm quite pleased with the result, haven't turned it in yet but I will get marked on it.
  7. Thanks, I'll keep that in mind whenever I edit my...

    Thanks, I'll keep that in mind whenever I edit my post next time.

    I agree about the 'don't use the obvious' thing, but at the same time I can see where my instructor is coming from. I'm taking an...
  8. Thanks for fixing the color problem! Hmm, I...

    Thanks for fixing the color problem!

    Hmm, I see where you're coming from, but would it really matter in this question? They specifically ask for squares, and the easiest way to check if a polygon...
  9. Sorry for not replying, really long week at...

    Sorry for not replying, really long week at college. I've thought about the question and came up with a solution that somewhat works. It can determine if something is a polygon (I haven't tested this...
  10. Need help getting started with a C application

    Hey there, I'd like to firstly say that I don't want anyone to solve the entire question for me, but there is something that has been really bugging me for a while.

    Problem: Given the length of...
Results 1 to 10 of 10