#include
using namespace std;
int main() {
int i,j,a=0,b=1,c,n;
cin>>n;
for(i=1;i<=n;i++)
{
for(j=1;j<=i;j++)
{
cout<<a;
c=a+b;
a=b;
b=c;
}
cout<<endl;
}
return 0;
}
What is wrong in my code
share the link of code
past on http://ide.codingblocks.com/
save the code using ctrl+s
and then send the link generated
you have not printed the tab after each element
in question it is mention to print a tab after each element
now it is passing all testcases