Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- int main (int argc, const char ** argv) {
- if (argc == 2) {
- int num1, num2;
- num1 = atoi(argv[0]);
- num2 = atoi(argv[1]);
- if (num1 > num2)
- printf("The first number is greater than the second one.");
- else
- printf("The second number is greater than the first one.");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement