Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

keeping up with the joneses

  • Loading branch information...
commit ba9628b72e25a1628a4f96e89bab8d8f4eb14c30 1 parent 418c7da
@bentaber authored
View
3  .gitignore
@@ -1 +1,2 @@
-.dSYM
+*.dSYM
+*.pdf
View
7 ex3-5/Makefile
@@ -0,0 +1,7 @@
+CFLAGS=-Wall -g
+
+all: ex3
+
+
+clean:
+ rm -f ex3
View
BIN  ex3-5/ex3
Binary file not shown
View
3  ex3/ex3.c → ex3-5/ex3.c
@@ -1,7 +1,6 @@
#include <stdio.h>
-
-//video paused at 26:35
+//video paused at 33:00
int main() {
int age = 10;
int height = 72;
View
12 ex3-5/ex4.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+
+//video paused at 33:00
+int main() {
+ int age = 10;
+ int height = 72;
+
+ printf("I am %d years old.\n", age);
+ printf("I am %d inches tall\n", height);
+
+ return 0;
+}
View
BIN  ex3-5/ex5
Binary file not shown
View
10 ex3-5/ex5.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+//video paused at 33:00
+int main(int argc, char *argv[]) {
+ int distance = 100;
+
+ printf("You are %d miles away.\n", distance);
+
+ return 0;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.