Home Tutorialhelp Allcomments Java Beginners Triangle

 
 

Comments

 
User Comments for the tutorial:

Write a program to construct a triangle with the ?*?



Advertisement
Comments

code needed
prog for * * * * * * * * * * code for printing the above triangle. 

triangle
prog for * * * * * * * * * * code for printing the above triangle 

for loop doubts
Dear sir, could you explain me clearly about the working of for loop for the above example? 

The is a error in the code! i mean read it
hay as the program is meant for printing the no.of. time a star according to the user input in the loop u got to put equals only then it give such output otherwise it gives u wrong for eg: if user input is 5 then 4 star prints so the loop  

Need Program for triangle
I want to print triangle in this formate 1 21 321 4321 plz help me 

ANOTHER TRIANLE
how can u print this tringle: * *** ***** ******* 

Triangle
****** ***** **** *** ** * It is taking the input Eg : 6 from the user Then In the integer there is a method called ParseInt with the help of the parseInt the for loop is been executed if a= 6 then i=6 & j=1 then the o/p will be ****** if i++  

java
how java can be faster in doing 

need a traingle below like this
* * * * * * 

numbers in triangle
i want the stars in numbers like 1 12 123 1234 then how to reverse this 

Another Qs
Thanks for the triangle program. and i need help to solve the problem with output like below. ABCD DCBA ABC CBA AB BA A A Thanks 

using single
using single for loop u have to display the stars4YGM 

java program execution
What is the explanation of the following program? class TwoDArray { public static void main(String args[]) { int twoD[][]= new int[4][5]; int i, j, k = 0; for(i=0; i<4; i++) for(j=0; j<5; j++) { twoD[i][j] = k; k++; } for(i=0; i<4; i++) { 

for loop
its hard to do this program can you an example of code of this..... * * * * * *  

hi
i need aprogram to print a triangle with * * * * * * * * *  

Dear Sir
this program doesnt give a triangle. all the asteriks are on a straight line instead of it to be arranged in a triangular form. There should be a System.out.println(" ");(This would be the 14th line) and on the 13th line it should be system.out.p 

Help, Java numeric pyramids
Hello I need help with these two java programs, by the way I'm just a beginner. Now here's my problem. 0 90 890 7890 67890 567890 4567890 34567890 234567890 1234567890 can sommebody help me with with the code I don't know how to start 

write a program that displays the triangle of(*)
thank you 

write program in Pascal to calculate Area
I would like to know how to write a program in Pascal programmng Langauge to calculate Area of the Triangle. 

star program
* * * * * * * * * * i want this program code 

Program
Thanks,for giving these kind of information that is related to the java programming. This site also give theory related to the program. That is maassive. 

java tutorial
very very nice step by step tutorial keep it rocks 

For Beginner
Its good for beginner read every line and understand the logic then U will be a GOOD LEARNER in corejava. 

java program
show me the program which prints like ***** *** *  

triangle
1 12 123 1234 12345 

java nested lop
can you help me in java to understand loop? 

Related Tutorial and Articles
Java Beginners

help needed for a program - Java Beginners
help needed for a program   i am having trouble understanding on what to code, so can some 1 help me out here. thanks in advance. Part I Write, compile and execute a Java program that displays the following prompts 

Java Beginners

further clarification needed - Java Beginners
further clarification needed  Dear Experts, I refer to the last answer you have written to me. The good news is that there's no error already but the code is still not working for me. As Tsuch, I hope to clarify about 

Java Beginners

TRIANGLE OF *S AT THE BOTTOM RIGHT!!! - Java Beginners
TRIANGLE OF *S AT THE BOTTOM RIGHT!!!  My Question is to : "Write a program that inputs one integer m and outputs an m-line high triangle of *'s... to make the triangle at the right side but couldn't do so. Can you please solve 

Java Beginners

Triangle program
Triangle program  1 121 12321 1234321 123454321 kindly give the code 4 this program in java    1 121 12321 1234321 write a program for this triangle    1 121 12321 1234321 write a program 

Java Beginners

Code for a triangle.....
Code for a triangle.....   1 1 5 1 1 5 25 5 1 What is the source Code for above output 

Java Beginners

Java help needed
Java help needed  Create a web application that will allow a user to play the popular Hangman computer game using Java application program. How... as needed by the number of characters of the chosen word. 2. Add 4 buttons or menu 

Java Beginners

what programs are needed in java programming? - Java Beginners
what programs are needed in java programming?  What programs are needed in java programming?   Hi friend, For solving the problem visit to : http://www.roseindia.net/java/] Thanks  Hi friend 

Java Interview Questions

urjent code needed - Java Interview Questions
. Please write a java code that will: 1. Implements hashCode() and equals...urjent code needed  Coding: - We have Document domain/entity...){ // your code is here } Document findDocument(Document doc 

General

How to calculate area of triangle
of triangle. Description of this program  This is very java programming... Area of Triangle       In this section we will learn how to calculate area of triangle. We 

Java Beginners

java code - Java Beginners
java code   Dear Sir i need code for the following...://www.roseindia.net/java/ Thanks.    Hello Please try the following code may... * * * * * * * * * * * * * * * This is called Equilateral triangle   Hi 

Advertisements Advertisements
 

 

 

DMCA.com