Created
March 18, 2024 23:51
-
-
Save jmichalenko/b6730559bcbb809be8f6cd4c857156da to your computer and use it in GitHub Desktop.
CS50 Labs starter code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cs50.h> | |
#include <stdio.h> | |
int main(int argc, string argv[]) | |
{ | |
if (argc != 3) | |
{ | |
printf("Usage: ./exit <firstname> <lastname>\n"); | |
} | |
else | |
{ | |
// prints out hello followed by firstname, lastname | |
printf("hello, %s %s\n", argv[1], argv[2]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment