Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 332 Bytes
#include <stdio.h>
#include <stdlib.h>
int main ( int argc , char * argv[] )
{
int a ;
int b ;
a = atoi( argv[1] ) ;
b = atoi( argv[2] ) ;
if ( a > b )
printf( "greater than\n" ) ;
else if ( a < b )
printf ( "less than\n" ) ;
else
printf ( "equal\n" ) ;
return 0 ;
}
Jump to Line
Something went wrong with that request. Please try again.