For this Question: Give integer values M and N. Using the character ‘*’ draw a rectangle of height M and breadth N.The input contains two integers M and N.

Constraints:-
3 <= M, N <= 20Print the rectangle as shown in the exampleSample Input:-
3 3

Sample Output:-
***
* *
***

Sample Input:-
5 3

Sample Output:-
***
* *
* *
* *
***, I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
int main(){
    int m,n;
    cin>>m>>n;
    for(int i=0;i<n;i++){
        cout<<'*';
    }
    cout<<endl;
    m-=2;
    while(m--){
        cout<<'*';
        for(int i=0;i<n-2;i++){
            cout<<' ';
        }
        cout<<'*'<<endl;
    }
    for(int i=0;i<n;i++){
        cout<<'*';
    }
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?