#include <iostream>
using namespace std;
int main()
{
char c[999999]=" apple ant no mu h y e d f c v ";
int b=0;
for(int i=0; i<sizeof(c); i++)
{
if(c[i]==c[0])
{
if(c[i+1]>64|c[i+1]>123)
{
b++;
}
}
else if(c[i]==32)
{
if(c[i+1]>64|c[i+1]>123)
{
b++;
}
}
}
cout << b <<"\n";
system("Pause");
}
정답아니래 ㅋㅋ
틀렸으니 안되겠지 멍청아
에휴.. 란순아 프로그래밍은 혼자하는거임 그래야 늘어
자음하나 빼먹어서 5시간 고생도 해보고 그래야지