Search:

Type: Posts; User: Babs21

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,100

    Problem w/break statement

    When I enter the -999 to break the loop it does not follow to the next loop but ends the program. Am I missing something here??




    #include <stdio.h>

    struct info

    {
  2. Replies
    6
    Views
    1,240

    #include struct info { int ...

    #include <stdio.h>
    struct info
    {
    int client_num;
    char last_name[20];
    float balance;
    };

    main()
    {
  3. Replies
    6
    Views
    1,240

    Can I bother you about one more thing??? It is...

    Can I bother you about one more thing??? It is now reading all of my info but if I enter the -999 it is breaking but not going to the next print statment. I thought it would just break in the...
  4. Replies
    6
    Views
    1,240

    Thank you, I knew it was something stupid. With...

    Thank you, I knew it was something stupid. With the fflush(stdin); that is what the teacher requests which is why I used it.
  5. Replies
    6
    Views
    1,240

    Program will not run thorugh the loop

    Hello
    The program asks the question one time then stops and creates a micorsoft error message. Could someone take a look at it and see if I am missing something. It is suppose to allow you to...
  6. Replies
    5
    Views
    1,068

    Thank you so much Doodle I knew it was something...

    Thank you so much Doodle I knew it was something silly. You have been a big help
  7. Replies
    5
    Views
    1,068

    Thank you I had not even noticed that it was not...

    Thank you I had not even noticed that it was not closed. I am still getting an error that it does not recognise ot_pay as a float. I did declare it as such. Any ideas?
  8. Replies
    5
    Views
    1,068

    In the function at the bottom of the program ...

    In the function at the bottom of the program return ot_pay; and return fed_tax;
  9. Replies
    5
    Views
    1,068

    Error in function

    Hello, I am getting an error that I am trying to convert a float to an int in my function. Can someone maybe help me with this?



    #include <stdio.h>

    float calc_ot_pay (float...
  10. Replies
    1
    Views
    1,851

    ?? with trying to sum numbers

    Help, I can't get this program to work correctly. If I put in a number higher or lower than is allowed it gives me the correct error message. However, when I sum up the numbers it is adding them...
  11. Replies
    3
    Views
    1,587

    Issue with Sum code

    I have a program where I am trying to sum grades that are input by the end user. They can put in a max of 10 grades. The grades must be between 1-100. If they put in a number above or below they...
Results 1 to 11 of 11