Sign up to connect with joe97 and gain access to their complete profile
  • Member Avatar
    joe97

    Replied To a Post in C program for Luhn algorithm

    Alright here's a rough code of how i started. some where some mistake has happened but not sure where and i wasnt sure how could i declare the functions im …
  • Member Avatar
    joe97

    Created C program for Luhn algorithm

    guys i have this assignment about luhns algorithm and i cant seem to know where to start (i am very weak in functions and arrays) , if anyone can help …
  • Member Avatar
    joe97

    Began Watching C program for Luhn algorithm

    guys i have this assignment about luhns algorithm and i cant seem to know where to start (i am very weak in functions and arrays) , if anyone can help …
  • Member Avatar
    joe97

    Replied To a Post in game of pig. C coding

    ohh alright, ill try modifying my code and see how it runs. but thanks a lot David, ill surely refer to this website whenever i need any help.
  • Member Avatar
    joe97

    Marked Solved Status for game of pig. C coding

    Pig is a simple dice game first described by John Scarne in 19451. It is a form of jeopardy dice game, where a players decisions are between protecting current gains, …
  • Member Avatar
    joe97

    Replied To a Post in game of pig. C coding

    #include <stdio.h> #include <stdlib.h> #include <time.h> int takeInInt( const char* msg ); int takeInChr( const char* msg ); int more(); void showDice( int randNum ); void playGame(); int main() { …
  • Member Avatar
    joe97

    Replied To a Post in game of pig. C coding

    thank you so much for the help! the game runs smoothly.
  • Member Avatar
    joe97

    Replied To a Post in game of pig. C coding

    im not sure this is whats asked. the rule is if a player rolls a value between 2 and 6 t is added to their score, and they can roll …
  • Member Avatar
    joe97

    Replied To a Post in game of pig. C coding

    forget what i mentioned above.. i made some changes and the program ran somewhat fine. but i missed the part where if a player rolls a 1, the score should …
  • Member Avatar
    joe97

    Replied To a Post in game of pig. C coding

    thanks a lot David, but it gives me a warning: too many arguments for format [-Wformat-extra-args] printf( "player wins! %d\n", player, gameTotal ); too many arguments for format [-Wformat-extra-args] printf( …
  • Member Avatar
    joe97

    Replied To a Post in game of pig. C coding

    here's what ive done so far, any assistance would be appreciated. my code cant seem to complie for some reason i cant figure out whats wrong. any what is the …
  • Member Avatar
    joe97

    Created game of pig. C coding

    Pig is a simple dice game first described by John Scarne in 19451. It is a form of jeopardy dice game, where a players decisions are between protecting current gains, …
  • Member Avatar
    joe97

    Began Watching game of pig. C coding

    Pig is a simple dice game first described by John Scarne in 19451. It is a form of jeopardy dice game, where a players decisions are between protecting current gains, …

The End.