#include <iostream>
usingnamespace std;
int main ()
{
int sent;
cout<<"Enter a sentence. ";
cin>>sent;
int letter = 0, count;
for (count=0; count<=sent; ++count)
{
letter++;
}
cout<<"The number of a's that occur in your sentence is "<<letter;
system("pause");
return 0;
}
i don't know I'm really stuck on this code. I just can't figure it out..im pretty new at this if you haven't noticed.