This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/cscanf.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 );
}