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>
int main()
{
char str[100];
int n,num=0,letter=0,space=0,spchar=0,i;
scanf("%s",str);
n=strlen(str);
if(n>=5&&n<=10)
{
for(i=0;i<n;i++)
{
if(str[i]>='0'&&str[i]<='9')
{
num+=1;
}
else if(str[i]>='A'&&str[i]<='Z')
{
letter+=1;
}
else if(str[i]==' ')
{
space+=1;
}
else if(str[i]=='&'||str[i]=='+'||)
{
spchar+=1;
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run