Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

make pattern for V in jaca

    void drowV(int hight){
    int rowLen = (hight-1)*2;

    for(int i=0; i<hight; i++){
        int start = i;
        int end = rowLen-i;
        for(int j=0;j<=rowLen; j++){
            if(j==end){
                System.out.println("*");
                break;
            }
            else if(j==start){
                System.out.print("*");
            }
            else{
                System.out.print(" ");
            }
        }
    }
}
Comment

PREVIOUS NEXT
Code Example
Java :: java.sql.SQLException: Invalid column index 
Java :: The Unit Circle Codehs 
Java :: java interview question answer 
Java :: Make device not run on emulator or rooted device 
Java :: android studio analyze apk 
Java :: initialcontext tomcat bug 
Java :: java replace second char of a string 
Java :: search in jdbc 
Java :: 16 kare koku 4 in java 
Java :: java kommazahl abschneiden 
Java :: system.out.println int in java concatenate 
Java :: younger brother of java 
Java :: dynamically create textview and add it in linearlayout in recyclerview adapter android 
Java :: boxing and unboxing in java pdf 
Java :: Java Classs Decomiler free 
Java :: java Difference Array | Range update query in O(1) 
Java :: modelmapper abstract class 
Java :: java thread syncronized locker 
Java :: grepper editor 
Java :: Algorithms - Max value 
Java :: on offline event spigot example 
Java :: Statement sql= clsConexion.getConexion().createStatement(); 
Java :: Calling constructor methods in java 
Java :: string tmp java 
Java :: java log4j2 load configuration 
Java :: how to make jframe full screen 
Java :: java print line 
Java :: Reverse Order Output for Java Do-While Loop 
Java :: Run the ls command in the terminal to see the uncompiled .java file 
Java :: search for a string in byte array 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =