World Languages, asked by suryateja52, 1 year ago

patterns i++ and j-- c program​

Answers

Answered by angelgirl55
1

Answer:

cout<<"\n enter any no.";

cin>>n;

if(n<=0)

{for(int i=0;i<=n;i++)

cout<<i;

}

else

{for(int j=0;j<=n;j--)

cout<<j;

}

Explanation:


angelgirl55: plzz mark as brainliest
suryateja52: pls could u write a program based on that
angelgirl55: plzz mark as brainliest
angelgirl55: plzz mark as brainliest.............
suryateja52: i dont konw how to mark
suryateja52: im new to this app
angelgirl55: below my answer there is written brainliest answer just click on that
suryateja52: sry nthng is showing below the answer
angelgirl55: OK
Similar questions