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 is scope variable in javascript?
What is client side in javascript?
Is javascript free to use?
Can any one tell me about s_objectID used for the anchor tag why it is used, what for and how to use it properly. with an example...please please......
What is scope javascript?
Iam getting xml when we click on one button.Iam placing that xml in dom.Im getting that xml data in one xsl.In that xsl I want to increase the variable value which is declared in xsl. Ex: <parent_node> <childNode> <first><d1>ffftt</d1></first> <first><d1>eeeeiii</d1></first> <first><d1>uuuuwww</d1></first> </childNode> <childNode> <first><d1>fff</d1></first> <first><d1>eeee</d1></first> <first><d1>uuuu</d1></first> </childNode> </parent_node>
What does “1?+2+4 Evaluate to? What about 5 + 4 + “3??
What is the concept of “functions as objects” and how does this affect variable scope?
What is whitespace in javascript?
What does e mean in javascript?
find the common prime divisors of two given numbers
Explain equality operators in javascript?