#include "stdafx.h"
#include <iostream>
#define MAX 50
using namespace std;
int main()
{
char str[50] = "12345678901";
int i,l;
double s1[MAX];
i = 0;
while(str[i] != '\0')
{
i++;
}
l = i / 2;
for(i = 0; i < l; i++)
{
s1[i] = str[i];
cout << s1[i] << endl;
}
system("pause");
return 0;
}