Search:

Type: Posts; User: nurofen

Search: Search took 0.00 seconds.

  1. Replies
    17
    Views
    2,990

    I understand Thank you once again for you time...

    I understand

    Thank you once again for you time

    Nurofen
  2. Replies
    17
    Views
    2,990

    Thank you so much it works... Can you ...

    Thank you so much it works...


    Can you please explain why it works that why if you wouldn't mind and not all the othe ways


    Thank you again

    stevesmithx
  3. Replies
    17
    Views
    2,990

    I tried \n in printf stts no joy. I see I have...

    I tried \n in printf stts no joy.

    I see I have changed the part (thank you )

    when i enter -1 why does it as for miles used?

    i would like it to go


    printf("\nThe overall average miles /...
  4. Replies
    17
    Views
    2,990

    I still can't get it to work, what i'm I doing...

    I still can't get it to work, what i'm I doing wrong?
  5. Replies
    17
    Views
    2,990

    yes very true.

    yes very true.
  6. Replies
    17
    Views
    2,990

    printf("Enter gallons used, -1 to Exit: "); ...

    printf("Enter gallons used, -1 to Exit: ");
    scanf("%f", &gallons);

    while(gallons != -1) {
    total = total + tankful;
    counter = counter + 1;


    ...
  7. Replies
    17
    Views
    2,990

    sorry people but I've tried but with no joy. ...

    sorry people but I've tried but with no joy.

    Can someone show me what i'm doing wrong please.

    Thanking you in advance

    Nurofen
  8. Replies
    17
    Views
    2,990

    When I do that the output is: "Enter gallons...

    When I do that the output is:

    "Enter gallons used, -1 to Exit: " 12.8
    and the it repeats to
    "Enter gallons used, -1 to Exit: "

    it should be
    "Enter gallons used, -1 to Exit: " 12.8
    "...
  9. Replies
    17
    Views
    2,990

    guidence to a program C

    I need guidence to solve a problem i'm having with a program (Exercise), When I enter -1 why does the "Enter miles used" show up. It should just print " The overall average miles / gallon was" and...
  10. Replies
    160
    Views
    1,232,892

    Sticky: I bought the book (I say too all learning or just...

    I bought the book (I say too all learning or just started out (like me) great up todate book)). Only thing Exercises have no Answers sheets.
  11. Replies
    14
    Views
    2,878

    Is this right? Exercise 2-1. Write a program...

    Is this right?

    Exercise 2-1. Write a program that prompts the user to enter a distance in inches and then
    outputs that distance in yards, feet, and inches.



    /* This program converts inches...
  12. Replies
    14
    Views
    2,878

    Hi, I trying to to understand what kind of...

    Hi,

    I trying to to understand what kind of programs are created in the real world by programmers in C.

    What I guess I'm trying to ask is what can I do with my skill? What are the options? Do...
  13. Replies
    14
    Views
    2,878

    Elysia, Thank you Nurofen

    Elysia,

    Thank you

    Nurofen
  14. Replies
    14
    Views
    2,878

    Which should I use all the time? Ivor Horton...

    Which should I use all the time?

    Ivor Horton book shows :



    int main(void)
    {

    return 0;
  15. Replies
    14
    Views
    2,878

    Thank you all again for your help. I have...

    Thank you all again for your help.

    I have decided to put Mark Virtue's cds aside as from your feedback they are not teaching me a good foundation for learning C. I will go for one of the books...
  16. Replies
    14
    Views
    2,878

    laserlight, Elysia, xuftugulus Thank you for...

    laserlight, Elysia, xuftugulus

    Thank you for taking time to explaining and pointing out what i had done wrong.
    I'll need to read up on defining before continue with the cd's to get a better...
  17. Replies
    14
    Views
    2,878

    I'm I programming right?

    Hi,

    I'm learning C from Mark Virtue's cds chapter3 . I have completed the tasks both work as they should but they are very different from Marks soluations. I would to know if there is a problem...
Results 1 to 17 of 17