Search:

Type: Posts; User: idfjvafnv

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,222

    I got it, I stayed up all last night. I made a...

    I got it, I stayed up all last night. I made a second array to keep the order then when I ran my sort functions I sorted my order array to sort the same way then after processing I resorted it using...
  2. Replies
    9
    Views
    1,222

    yea that was my second thought to make a separate...

    yea that was my second thought to make a separate array. This is for an assignment so I didn't want to post my code because I don't want someone to do it for me I really just want someone to give me...
  3. Replies
    9
    Views
    1,222

    I thought about those ideas but the way the...

    I thought about those ideas but the way the program needs to be written, after my binary search I need to call a separate function to put my array back to the original order. I can't have a copied...
  4. Replies
    9
    Views
    1,222

    unsorintg after a sort

    I'm trying to write a program that searches an array for an entered number, I am trying to figure out how to write the last part and that is to unsort the array back to the original value if it was...
  5. Replies
    4
    Views
    847

    when you say ask_again; what could I use to make...

    when you say ask_again; what could I use to make that loop. I just wanna try that then I'll try and go back and redo it in a better way
  6. Replies
    4
    Views
    847

    I added a bit more hopefully to clarify a bit. ...

    I added a bit more hopefully to clarify a bit.

    acc will eventually = 9999 because that it how the user will let the program know it is done entering information.

    accno() is just asking for a...
  7. Replies
    4
    Views
    847

    Is this possible

    I have my program running just about the way I want it to but can't work out some final details.

    Basically I want to run this loop while the acc does not = 9999



    //loop to gather account...
  8. Replies
    12
    Views
    1,382

    Ok, I removed the sketchy return statements but I...

    Ok, I removed the sketchy return statements but I still cannot get my values to return as numbers with 2 decimals any help on where I'm wrong at here.



    #include <stdio.h>
    int accno();
    double...
  9. Replies
    12
    Views
    1,382

    Ok I'm starting to understand where you're coming...

    Ok I'm starting to understand where you're coming from, I'll remove those returns for now and work on them a little later right now I need to focus on getting my values to return correctly and pass...
  10. Replies
    12
    Views
    1,382

    I see why your example doesn't work, it would be...

    I see why your example doesn't work, it would be trying to print rv as an integer and that wouldn't work. But when I return the printf I return the same function right after so that it prints invalid...
  11. Replies
    12
    Views
    1,382

    these statements work for me and they return the...

    these statements work for me and they return the printf statement then prompt me for the function value again.
  12. Replies
    12
    Views
    1,382

    When I wrote return printf() I assumed it would...

    When I wrote return printf() I assumed it would return the text in printf.
  13. Replies
    12
    Views
    1,382

    having trouble with functions

    Hey everyone,

    I am having trouble with writing a program that uses functions. I am very new to programming and am having a hard time grasping some concepts.

    What I need to do is write a series...
Results 1 to 13 of 13