update
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "date.h"
|
||||
|
||||
void setDate(Date* date, int year){
|
||||
date->day = 1;
|
||||
date->month = 1;
|
||||
date->year = year;
|
||||
}
|
||||
|
||||
void prettyPrintDate(Date *date){
|
||||
printf("Day: %d Month: %d Year: %d \n", date->day,date->month,date->year);
|
||||
}
|
||||
Reference in New Issue
Block a user