Search:

Type: Posts; User: aplst3

Search: Search took 0.00 seconds.

  1. Replies
    27
    Views
    7,797

    #include #include ...

    #include <stdio.h>
    #include <string.h>


    int main(void)
    {
    char str1[25]; /*initialize string 1*/
    char str2[25]; /* initialize string 2*/

    char c;
  2. Replies
    27
    Views
    7,797

    Program

    mouse666666, looks like another would disagree. I'll compare it to mine. Thank you for your help.
  3. Replies
    27
    Views
    7,797

    Comparing Strings

    Write a program that uses function strcmp to compare two strings input by the user. The program should state whether the first string is less than, equal to or greater than the second string.
Results 1 to 3 of 15