print the following using loop.
54321
4321
321
21
1
Answers were Sorted based on User's Feedback
Answer / manikandan
int n=5;
for(int i=1;i<=n;i++)
{
for(int j=1;j<=n;j++)
{
cout<<i;
}
cout<<j;
}
| Is This Answer Correct ? | 8 Yes | 31 No |
What are the four basic data structures in javascript?
how to disable source option at view menu in browser like internet explorer...mozilla...etc..pls help me...
What is a boolean search?
What is difference between arrow function and normal function?
What are the application of javascript?
Between JavaScript and an ASP script, which is faster?
Where javascript variables are stored?
Advantages & Disadvavtages of Java Script? Advantages & Disadvantages of CGI Scripting? Structure of Java Script? Commands of Java Script? HTML Basic Reviews?
What are javascript properties?
What is client side programming?
Can you put javascript in html?
Javascript, Pass by Value or Pass by Reference?