15 lines
240 B
C
15 lines
240 B
C
|
|
||
|
#include <conio.h>
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
int day, year;
|
||
|
char weekday[10], month[12];
|
||
|
|
||
|
cscanf( "%s %s %d %d",
|
||
|
weekday, month, &day, &year );
|
||
|
cprintf( "\n%s, %s %d, %d\n",
|
||
|
weekday, month, day, year );
|
||
|
}
|
||
|
|