#include <stdio.h>
#include <string.h>
int main(void)
{
char str1[25]; /*initialize string 1*/
char str2[25]; /* initialize string 2*/
char c;
Type: Posts; User: aplst3
#include <stdio.h>
#include <string.h>
int main(void)
{
char str1[25]; /*initialize string 1*/
char str2[25]; /* initialize string 2*/
char c;
mouse666666, looks like another would disagree. I'll compare it to mine. Thank you for your help.
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.