Fixed up ex4.c
This commit is contained in:
parent
23a5e0903b
commit
6f61f85e0f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user