this is the code"
#include
using namespace std;
int main() {
int n ;
cin >> n ;
for(int i = 1;i<=n;i++){
char a = “A”;
for(int p = i;p<=n;p++){
cout << a;
a++
}
for(int z = (n-i);z>0;z–){
cout<<a;
a–
cout << endl;
}
}"
it says invalid conversion from constant char* to char*