Initial commit with cleaned history
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// Prints a command-line argument
|
||||
|
||||
#include <cs50.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, string argv[])
|
||||
{
|
||||
if (argc == 2)
|
||||
{
|
||||
printf("hello, %s\n", argv[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("hello, world\n");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user