---
# System prepended metadata

title: 陳列

---

# 陳列
```cpp=
#include<iostream>
using namespace std;

int main()
{
	char money[10]={0};
    int i,b;
    int a=0;
    int c=0;
    cin>>b;
    while(b>10){
    	cin>>b;
	}

    i = 0;
    while( i < b)
    {   
        cin>>money[i];
        cout << i << " : " << (int)money[i] << endl;
        i++;
        if ('Z'>=money[i]>='A' || 'z'>=money[i]>='a') a++;
        if ('9'>=money[i]>='0') c++;
    }
    cout<<endl<<a<<endl<<c;
    return 0; 
}
```
