ex5
This commit is contained in:
parent
6f61f85e0f
commit
ef271c59c5
1
lcthw-remnants-2/.gitignore
vendored
1
lcthw-remnants-2/.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
ex1
|
||||
ex3
|
||||
ex4
|
||||
ex5
|
||||
|
12
lcthw-remnants-2/ex5.c
Normal file
12
lcthw-remnants-2/ex5.c
Normal file
@ -0,0 +1,12 @@
|
||||
#include <stdio.h>
|
||||
|
||||
/* This is a comment. */
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int distance = 100;
|
||||
|
||||
// this is also a comment
|
||||
printf("You are %d miles away.\n", distance);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user