Skip to content

Commit

Permalink
Fixed print hint. (adding the capital letters)
Browse files Browse the repository at this point in the history
  • Loading branch information
pezy committed Oct 14, 2014
1 parent cc205c6 commit c526c47
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ch05/ex5_10.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <iostream>

using namespace std;
using std::cin; using std::cout; using std::endl;

int main(void)
{
Expand All @@ -19,10 +19,10 @@ int main(void)
else if (c == 'u' || c == 'U')
++uCnt;
}
cout << "Num of vowel a : " << aCnt << endl;
cout << "Num of vowel e : " << eCnt << endl;
cout << "Num of vowel i : " << iCnt << endl;
cout << "Num of vowel o : " << oCnt << endl;
cout << "Num of vowel u : " << uCnt << endl;
cout << "Num of vowel a(A) : " << aCnt << endl;
cout << "Num of vowel e(E) : " << eCnt << endl;
cout << "Num of vowel i(I) : " << iCnt << endl;
cout << "Num of vowel o(O) : " << oCnt << endl;
cout << "Num of vowel u(U) : " << uCnt << endl;
return 0;
}
}

0 comments on commit c526c47

Please sign in to comment.