Search:

Type: Posts; User: yong83

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    7,240

    Prevent from an error

    example below:


    printf("How many chances you wish to have?? (MAXIMUM is 20)\n");
    scanf("%d", &chance);


    If the user ACCIDENTALLY hit a alphabet on the keyboard, the program will have...
  2. Replies
    8
    Views
    7,240

    thanx guys especially RoD, it really help mi...

    thanx guys
    especially RoD,

    it really help mi alot, i'v finish my project

    :)
  3. Replies
    8
    Views
    7,240

    How to use tolower command for a string??

    How to use tolower command for a string??

    for example:

    printf("Please inout the word for convert:");


    scanf("%s", result);

    result[6]=tolower( result[6]);
Results 1 to 3 of 3