C
c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <math.h>
//11/19/2019
//November 19, 2019
int main() {
char c[100];
fgets(c,sizeof(c),stdin);
//puts(c);
int length = strlen(c);
int dateCounter;
int datecounter;
char month[100];
char date[2];
char year[4];
int x=0;
for (int i=0; i<length; i++)
{
if ((c[i]=='/')||(isspace(c[i])))
{
dateCounter=i+1;
break;
}
else
{
month[i]=c[i];
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run