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. In the block form of SMTP.start, is there a way to
View Tutorial          By: Roshan at 2012-02-02 11:48:53

2. pls tell me how to run the prog step by step. just
View Tutorial          By: divakar varshney at 2015-04-02 11:14:34

3. Thanx.. it helps me a lot, now.. i have 1 more que
View Tutorial          By: GuzZpaWn at 2012-01-15 17:19:29

4. I want to know more about Java Garbage collection,
View Tutorial          By: Prosenjit Kundu at 2010-05-08 09:42:40

5. i am looking for the samples in java programming u
View Tutorial          By: mary grace leron at 2010-02-18 01:50:50

6. Hi wei long, did you download all the five program
View Tutorial          By: Ramlak at 2008-06-23 03:26:31

7. hi,Very Nice tutorials and iwant to know how to ch
View Tutorial          By: vimala at 2010-07-08 05:05:17

8. i am getting the following error when i ran this p
View Tutorial          By: nancy kapoor at 2008-10-07 14:26:21

9. need to be explained more
View Tutorial          By: parul at 2011-06-30 08:34:29

10. It is really a nice example when you need to sort
View Tutorial          By: Ranjan at 2010-10-04 23:14:33