Advertisement
Guest User

Untitled

a guest
Aug 10th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <cs50.h>
  2. #include <stdio.h>
  3. #include <string.h>
  4. #include <ctype.h>
  5.  
  6. int main(int argc, string argv[])
  7.  
  8. {
  9. if (argc != 2 || isdigit (argv[1]))
  10. {
  11. printf ("./caesar key\n");
  12. return 1;
  13. }
  14.  
  15. printf ("success\n");
  16.  
  17. printf ("%s\n", argv[1]);
  18.  
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement