Fixed up ex4.c

This commit is contained in:
Dan Buch 2016-04-12 04:50:03 -04:00
parent 23a5e0903b
commit 6f61f85e0f

View File

@ -1,13 +1,11 @@
#include <stdio.h> #include <stdio.h>
/* Warning: This program is wrong on purpose. */
int main() int main()
{ {
int age = 10; int age = 10;
int height; int height = 72;
printf("I am %d years old.\n"); printf("I am %d years old.\n", age);
printf("I am %d inches tall.\n", height); printf("I am %d inches tall.\n", height);
return 0; return 0;