Search:

Type: Posts; User: <3pi

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    1,225

    im new at this too.. but did you forget to put...

    im new at this too.. but did you forget to put your cast in the printf:

    old code


    printf("Enter an integer\n");
    scanf("%d", &integer1);


    new code
  2. Thread: Menu

    by <3pi
    Replies
    4
    Views
    1,613

    im pretty sure i got the scanf's right, read my...

    im pretty sure i got the scanf's right, read my initialized numbers/strings...

    %d is for an integer whole number
    %f is a floating point number
    %c single character
    %s string of chars
    %p a...
  3. Thread: Menu

    by <3pi
    Replies
    4
    Views
    1,613

    Menu

    This is my first attempt at writing a menu. I can't get it to return after the if statement for yes, and I can't get it to do the else statement for no if you answer no the 2nd time around. The total...
Results 1 to 3 of 3