Skip to content

Commit 388ea2a

Browse files
committed
Added 908A - New Year and Counting Cards.cpp
1 parent 329350e commit 388ea2a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#include<bits/stdc++.h>
2+
using namespace std;
3+
4+
// Code Written By: Vikash Patel
5+
6+
// Codeforces Profile: https://codeforces.com/profile/vikashpatel
7+
8+
int main()
9+
{
10+
string s;
11+
cin>>s;
12+
int ans=0;
13+
for(auto i : s)
14+
{
15+
if(i=='a' || i=='e' || i=='i' || i=='o' || i=='u' || i=='1' || i=='3' || i=='5' || i=='7' || i=='9')
16+
ans++;
17+
}
18+
cout<<ans<<endl;
19+
}
20+
21+

0 commit comments

Comments
 (0)