Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ex1/ex1.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ int main(void)
int year = 2013;
int age;
age = year - Year;
printf("I was born on %d.%d.%d\n", Day, Month, Year);
printf("Today is %d.%d.%d\n", day, month, year);
printf("I am %d years old\n", age);
printf("I was born on %d.%d.%d\n", Day, Month, Year);//Displays user date of birth
printf("Today is %d.%d.%d\n", day, month, year);//Displays today's date
printf("I am %d years old\n", age);//Displays the age of the user
return 0;
}