#include <stdio.h>
int main() {
char str[100];
int vowels = 0, consonants = 0, others = 0, digits=0;
int n,m;
for(int i=0; i<n; i++){
}
for (int i = 0; i<n; i++) {
if ((ch >= 'a' && ch <= 'z')) {
if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') {
vowels++;
}
else {
consonants++;
}
}
else if (ch >= '0' && ch <= '9') {
digits++;
}
else {
others++;
}
}
printf("Vowels: %d\n", vowels
); printf("Consonants: %d\n", consonants
); printf("Digits: %d\n", digits
); printf("Other characters: %d\n", others
); }
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkgewogICAgY2hhciBzdHJbMTAwXTsKICAgIGludCB2b3dlbHMgPSAwLCBjb25zb25hbnRzID0gMCwgb3RoZXJzID0gMCwgZGlnaXRzPTA7CiAgICBpbnQgbixtOwogICAgcHJpbnRmKCJTdHJpbmcgU2l6ZTogIik7CiAgICBzY2FuZigiJWQiLCAmbik7CiAgICBwcmludGYoIkVudGVyIFN0cmluZyA6ICIpOwogICAgZm9yKGludCBpPTA7IGk8bjsgaSsrKXsKICAgICAgICBzY2FuZigiICVjIiwgJnN0cltpXSk7CiAgICB9CiAgICBnZXRjaGFyKCk7CgogICAgZm9yIChpbnQgaSA9IDA7IGk8bjsgaSsrKSB7CiAgICAgICAgY2hhciBjaCA9IHRvbG93ZXIoc3RyW2ldKTsKICAgICAgICBpZiAoKGNoID49ICdhJyAmJiBjaCA8PSAneicpKSB7CiAgICAgICAgICAgIGlmIChjaCA9PSAnYScgfHwgY2ggPT0gJ2UnIHx8IGNoID09ICdpJyB8fCBjaCA9PSAnbycgfHwgY2ggPT0gJ3UnKSB7CiAgICAgICAgICAgICAgICB2b3dlbHMrKzsKICAgICAgICAgICAgfQogICAgICAgICAgICBlbHNlIHsKICAgICAgICAgICAgICAgIGNvbnNvbmFudHMrKzsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICBlbHNlIGlmIChjaCA+PSAnMCcgJiYgY2ggPD0gJzknKSB7CiAgICAgICAgICAgIGRpZ2l0cysrOwogICAgICAgIH0KICAgICAgICBlbHNlIHsKICAgICAgICAgICAgb3RoZXJzKys7CiAgICAgICAgfQogICAgfQoKICAgIHByaW50ZigiVm93ZWxzOiAlZFxuIiwgdm93ZWxzKTsKICAgIHByaW50ZigiQ29uc29uYW50czogJWRcbiIsIGNvbnNvbmFudHMpOwogICAgcHJpbnRmKCJEaWdpdHM6ICVkXG4iLCBkaWdpdHMpOwogICAgcHJpbnRmKCJPdGhlciBjaGFyYWN0ZXJzOiAlZFxuIiwgb3RoZXJzKTsKfQ==