Comment on Tutorial - Nested Loops in C++ By Daniel Malcolm



Comment Added by : Rashid Jabbar

Comment Added at : 2012-09-16 20:23:11

Comment on Tutorial : Nested Loops in C++ By Daniel Malcolm
answer of comment No, 17

#include<iostream>
#include<conio.h>
using namespace std;

void main()
{
for(int i=0;i<5;i++)
{
for(int j=5-i;j>0;j--)
{
cout<<"*";
}
cout<<endl;
}
getch();
}


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. /*Overridding & equals:--> Overriding is an
View Tutorial          By: Naveen Kumar at 2011-04-30 18:44:55

2. I got error during using above code if There is ne
View Tutorial          By: Sunil at 2009-12-28 05:22:45

3. Hi ! do u know have use FileOutputStream in Surfac
View Tutorial          By: lukas at 2011-07-18 16:55:20

4. tnx man that was short and well explained...
View Tutorial          By: jsf noob at 2012-02-02 13:24:12

5. I did not understand it. please give one example e
View Tutorial          By: farhaan at 2008-03-20 12:06:11

6. Hi, this blog answers my questions but what is the
View Tutorial          By: Edu at 2009-09-20 00:19:27

7. How to write data from keyboard to a file in java?
View Tutorial          By: Ashish Ranjan at 2011-07-13 01:04:38

8. </application>
<uses-permission an

View Tutorial          By: saurabh at 2012-01-17 05:00:21

9. lolz what's the code not working in JSP may be sen
View Tutorial          By: lolz at 2008-12-10 03:31:50

10. hi all i receive below error can any one help me p
View Tutorial          By: Purushothaman at 2009-04-03 17:38:42