What is wrong here

#include
using namespace std;
int main() {
int rows;
cin>>rows;
for(int i=0;i<=rows;i++)
{
int val=1;
for(int j=1;j<=rows-i;j++)
{
cout<<" “;
}
for(int k=0;k<=i;k++)
{
cout<<val<<” ";
val=val*(i-k)/(k+1);
}
cout<<endl;
}
return 0;
}

okay i got it now no need reply

@mayankjha please share your code using CB IDE

hi @mayankjha if you dont need help please mark this doubt as resolved