Help me in solving LUCKYSEVEN problem

My issue

unable to solve

My code

#include <stdio.h>
#include<string.h>
int main(void) {
	char str[10]="proceeding";
	
	return 0;
}


Problem Link: Lucky Seven Practice Coding Problem - CodeChef

@manavjoshi555
U have to do it like this

#include <stdio.h>

int main(void) {
	char s[11];
    scanf("%s",s);
    printf("%c",s[6]);
	return 0;
}

THANK YOU SO MUCH IT HELPED