C++ Program
```
#include <iostream>
using namespace std;
void printChecker(int width, int height, char character){
for(int a=0;a<height;a++){
if (a%2 == 0)
cout<<" ";
for(int b=0;b<width;b++){
if (b%2 == 0)
cout<<character;
else cout<<" ";
}
cout<<endl;
}
return;
}
int main(){
char character = '#';
int width=3,height=3;
cout<<"Enter Width: ";
cin>>width;
cout<<"Enter height: ";
cin>>height;
cout<<endl;
printChecker(width,height,character);
cout<<endl<<"Thanks for using this program"<<endl;
return 0;
}
```