Search:

Type: Posts; User: Detsibli

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    304

    Help with: Creating table from array

    Hi everyone, I am having trouble creating a table from a array, the array has 4 members being; first name, last name, hours, and payrate, from this the program asks for user input of these 4 members...
  2. Replies
    7
    Views
    456

    Also I added this in this switch ...

    Also I added this in this switch


    default:
    printf ("Please enter a non-negative number or less than 10! \n");
    printf ("--------------------------- \n");
    goto LOOP;
    ...
  3. Replies
    7
    Views
    456

    I reworked it and this seems to work. ...

    I reworked it and this seems to work.


    #include <stdio.h>
    #include <stdlib.h>

    int main()
    {

    system("clear");
  4. Replies
    7
    Views
    456

    I totally forgot about switches even thought I...

    I totally forgot about switches even thought I just reviewed them in a videolab. Now I made my code less chunky looking and better. Just that after playing again, when asked to play again and you...
  5. Replies
    7
    Views
    456

    Numeric input validation in loops

    Hi everyone, Im new to this forum and taking a C programming course. I am having trouble here validating that the user does not input any negatives or any value or 10. But I can't seem to make it...
Results 1 to 5 of 5