Saturday, February 19, 2011
Floyd�s triangle parogram in java
Java code to print the Floyd�s triangle
import java.io.*;
class Test {
public static void main(String[] args) throws IOException {
int i,j,r,k=1;
System.out.println("Enter the range:");
BufferedReader br=new BufferedReader(new InputStreamReader (System.in));
r=Integer.parseInt(br.readLine());
System.out.println("
Labels:
Java
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment