#include "stdafx.h"
#include <string>
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
string chars;
char c='*';
cout<<"Please input the Rhombus' width:";
int width,height;
cin>>width;
for(int i=1;i<=width;i++)
{
chars.append(&c,1);
}
cout<<"Please input the Rhombus' height:";
cin>>height;
for(int i=1;i<=height;i++)
{
cout<<chars<<endl;
chars.insert(chars.begin(),' ');
}
return 0;
}