Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning forum!

Asma Hafeez

Greenhorn
+ Follow
since Oct 19, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Asma Hafeez

Hi all,
Pls. tell me that how to make these programs (Outputs shown below):
*1st Program Output*

*
**
***
****
*****
****
***
**
*
*2nd Program Output*
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Pls. tell me what loops i can use here, and how to use it..
Pls. urgent reply me I will be thankfull.
With regards,
Java Student
17 years ago
Hi all,
Thanx for discussion about For & While Loop. I think abt it that both are same loops(Am i right) no one is faster. It depeneds on compiler or program,how we use these loops in a program.
Pls. tell me if i m right.I will be very thankfull.
Thanx,
Asma
18 years ago
Dear all,
This is my first write on javaranch. Just for asking that which one is faster loop For loop or while loop and pls. mention it that how it is faster.
Thank u


[This message has been edited by Asma Hafeez (edited October 19, 2001).]