#include<iostream>
using namespace std;

class sequence
{
	int s1,s2;
	char** seq;
public:
	sequence();//constructer
	~sequence();//destructer
	bool full();
	int size();
	void append();
	char[] &this_string(int k);
};
sequence::sequence()
{
/*cout<<enter the number of size the array and the size in each element;
	cin>>s1>>s2;
	seq=new char*[s1];
	for(int i=0;i<s1;i++)
		seq[i]=new char[s2];*/
  for(int i=0;i<s1;i++)
	  for(int j=0;j<s2;j++)
	  seq[i][j]=" ";
}
sequence::~sequence()
{
	int i;
        cout<<freeing array;
        for(int i=0;i<s1;i++)
        delete []seq[i];
        delete []seq;
		
}
bool sequence::full()
{
	int se1;
	if se1==s1 
		return true;
		else 
		return false;
}
int sequence::size()
{
	int count=0;
	for(int i=0;i<s1;i++)
		for(int j=0;j<s2;j++)
	if seq[i][j]==" " 
		count++;
	return count;
}
void sequence::append(char st[])
{
	if full()
		cout<<connot appended;
	else
		for(int i=0;i<s1;i++)
		for(int j=0;j<s2;j++)
	if seq[i][j]==\n
		seq[i+1][j+1]=st;
}
char[] &sequence::this_string(int k)
{
	for(i=0;i<s1,i++)
		for(j=0;j<s2,j++)
		if i==k
			return seq[i][j]
}

int main()
{
	int s3,s4;
	char **seq;
	sequence s;
	cout<<enter the number of size the array and the size in each element;
	cin>>s3>>s4;
	seq=new char*[s3];
	for(int i=0;i<s3;i++)
		seq[i]=new char[s4];
	cout<<enter the words and /n to stop
	for(i=0;i<s3,i++)
		for(j=0;j<s4,j++)
			cin<<seq[i][j]

seq[0][0]=toupper(seq[0][0]);
		j==0
for(i=1;i<s1,i++)
seq[i][j]=toupper(seq[i][j]);
		
for(i=0;i<s1,i++)
		for(j=0;j<s2,j++)
			cout<<s.this_string(i);
		cout<<s.size();
		return 0;
}


