Search:

Type: Posts; User: keeganstarr

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    3,229

    The thing is I'm very new at this, like five days...

    The thing is I'm very new at this, like five days worth of new, and goto was the only thing I could find that made sense for the time being. I realize it was warned against. Do you have a suggestion...
  2. Replies
    16
    Views
    3,229

    Ahh gotcha, that makes sense. Thank you for all...

    Ahh gotcha, that makes sense. Thank you for all your help, I appreciate it and will give it a try.
  3. Replies
    16
    Views
    3,229

    Hmm, even though it is updating itself after each...

    Hmm, even though it is updating itself after each loop? How would I go about carrying that value from within the loop to outside so I can display it?
  4. Replies
    16
    Views
    3,229

    Okay so I would need to make the printf inside...

    Okay so I would need to make the printf inside the loop to allow it to hold the correct value?
  5. Replies
    16
    Views
    3,229

    I didn't think that would, but it did. Now the...

    I didn't think that would, but it did. Now the only problem is its only displaying 1 as the value of p at the end instead of the total after the loop and math.
  6. Replies
    16
    Views
    3,229

    I'll show you the whole thing that way you will...

    I'll show you the whole thing that way you will be able to understand why I'm doing what I am.


    #include <cs50.h>
    #include <stdio.h>

    int
    main(void)
    {
    days:
  7. Replies
    16
    Views
    3,229

    (D) is another input and the way the math played...

    (D) is another input and the way the math played out it needed to be less than not equal to
  8. Replies
    16
    Views
    3,229

    yes there is. That may have helped, sry. P is...

    yes there is. That may have helped, sry. P is also an inputed variable prior for the calculation information. That's why I am stuck. I cant find a way to replace it so that it continuously updates...
  9. Replies
    16
    Views
    3,229

    Beginner, help with loop and variable

    Hello, I'm trying to make a loop that will loop for the value that has been input and then continues to update a variable so that at the end it can spit out the total. The catch is I can't figure out...
  10. Replies
    3
    Views
    1,576

    Hmm... so simple. I tried == when I tried listing...

    Hmm... so simple. I tried == when I tried listing them on the same line but never after I separated them and that worked. Thank you!
  11. Replies
    3
    Views
    1,576

    Very new at this, need help with if/else

    Hello, I'm just starting this whole c programming and I've looked at alot of tutorials and still can't figure out a way to get this basic program to work properly. It keeps saying I have an error...
Results 1 to 11 of 11