#include<stdio.h>
int main()
{
char a[80] = { 0 };
int n = 0;
for (int i = 0; i < sizeof(a)/sizeof(a[0]); i++) {
scanf("%c",&a[i]);
if (a[i] >= 'A' && a[i] <= 'Z') {
switch (a[i]) {
case 'A':break;
case 'E':break;
case 'I':break;
case 'O':break;
case 'U':break;
default:n++;
}
}
if (a[i] == '\r') break;
}
printf("%d", n);
}
&&
#include<stdio.h>
int main()
{
char str[80] = { 0 };
for (int i = 0; i < sizeof(str) / sizeof(str[0]); i++) {
scanf("%c", &str[i]);
if (str[i] >= 'A' && str[i] <= 'Z') {
str[i] = 'Z' - str[i] + 'A';
}
if (str[i] == '\r') break;
}
for (int j = 0; j < sizeof(str) / sizeof(str[0]); j++) {
printf("%c", str[j]);
}
}