Skip to main content

I love TEED in java

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package welcometeed;
//<editor-fold defaultstate="collapsed" desc="comment">
/**
 *
 * @author HOANG LIHUO
 */
//</editor-fold>
public class WelcomeTeed {
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        System.out.println("//////////////////////////////////      ");
        System.out.println("////////x PROBLAM 1 x/////////////      ");
        System.out.println("//////////////////////////////////  \n\n");
       
        System.out.println("    *****************  *************   *************  ***************      ");
        System.out.println("    ***************** **************  **************  ****************     ");
        System.out.println("           ***        ***             ***               ***        ***     ");
        System.out.println("           ***        **************  **************    ***        ***     ");
        System.out.println("           ***        **************  **************    ***        ***     ");
        System.out.println("           ***        ***             ***               ***        ***     ");
        System.out.println("           ***        **************  **************  ****************     ");
        System.out.println("           ***         *************   *************  ***************  \n\n");
       
        System.out.println("       ****     ****     ");
        System.out.println("     *******  *******    ");
        System.out.println("    ******************   ");
        System.out.println("     ****************    ");
        System.out.println("      **************     ");
        System.out.println("       ************      ");
        System.out.println("        **********       ");
        System.out.println("         ********        ");
        System.out.println("          ******         ");
        System.out.println("           ****          ");
        System.out.println("            **      \n\n ");
        //Problams2
        System.out.println("//////////////////////////////////      ");
        System.out.println("////////x PROBLAM 2 x/////////////      ");
        System.out.println("//////////////////////////////////  \n\n");
       
        System.out.println("                         +         +++                              ++++++++++++                                                                            ");
        System.out.println("             ++++      + +        +   +                            +++         +++                                                                          ");
        System.out.println("           +++  +++   +++++        +++                              +++++++++++++++              +++           +++         +++      +++          ++++       ");
        System.out.println("          +++    +++     +                                                       +++           +++++++       +++++++     +++  +++ +++ +++      +++  +++     ");
        System.out.println("         +++                      ++++++                                          +++        +++    +++    +++    +++   +++     +++    +++    +++    +++    ");
        System.out.println("         +++                    +++    +++                                        +++         +++            +++         +++                 +++            ");
        System.out.println("         +++                    +++    +++                                       +++         +++++++++++       +++         +++++++++++++        ++++        ");
        System.out.println("         +++                     +++    +++       ============                 +++         ++++++++++++++        +++      +++++++++++++++          +++      ");
        System.out.println("         +++                          +++                                    +++          +++          +++       +++      +++         +++          +++      ");
        System.out.println("         +++                         +++          ============                 +++        +++          +++       +++      +++         +++          +++      ");
        System.out.println("         +++                       +++                                           +++      ++++++       +++       +++      +++         +++         ++++      ");
        System.out.println("         +++                     +++                                           ++++++     ++++++++     +++       +++      +++         +++       ++++++      ");
        System.out.println("         +++                     +++    +++                                  +++  +++     +++   +++    ++++++++++++       +++         +++     +++  +++      ");
        System.out.println("         +++                      ++++++++                                    +++++        +++++++      ++++++++++        +++         +++      ++++++       ");
        System.out.println("         +++                                                                                                                                                ");
        System.out.println("         +++                    +++      ++++                                                            ++++++                                             ");
        System.out.println("         +++                      ++    ++  ++                                                        +++  +++                                              ");
        System.out.println("         +++                        ++    ++                                                        +++  +++                                                ");
        System.out.println("         +++                          ++++                                                      +++    +++                                                  ");
        System.out.println(" +++    +++    +                      +++                                                     +++    +++                                                    ");
        System.out.println("  +++  +++   + +                    ++  ++                                                     +++++++                                                      ");
        System.out.println("    ++++       +                        ++                                                       +++                                                        ");
        System.out.println("             +++++                      ++                                                                                                              \n\n");
        //Problams---3
        System.out.println("//////////////////////////////////     ");
        System.out.println("////////x PROBLAM 3 x/////////////     ");
        System.out.println("////////////////////////////////// \n\n");
       
        System.out.println(" +============================================================================+   ");
        System.out.println(" | ID         Name          Gender         Address             Phone          |   ");
        System.out.println(" +============================================================================+   ");
        System.out.println(" | 1          Chan Vichet     M            Phnom Penh          018 373 485    |   ");
        System.out.println(" | 2          Chey Dara       M            Kandal              017 348 384    |   ");
        System.out.println(" | 3          Thy  Dalin      F            Prey Veng           012 909 047    |   ");
        System.out.println(" | 4          Nuon Daly       F            Prey Veng           012 908 070    |   ");
        System.out.println(" | 5          Mey  Daly       M            Kompong Cham        012 994 367    |   ");
        System.out.println(" | 6          Mo   Malissa    F            Kompong Thom        012 234 864    |   ");
        System.out.println(" | 7          Muon darong     M            Kompong Cham        012 884 367    |   ");
        System.out.println(" +----------------------------------------------------------------------------+   ");
       
    }
}

Comments

Popular posts from this blog

The laws of set algebra & Laws derivable >> in the table 5.1 & 5.2 :

Ans :       Commutative laws                             Ans:          Associative laws Ans:         Distributive laws       Ans:            Identity laws Ans:         Complement laws Ans:          Absorption laws Ans:         Minimization laws Ans:         De Morgan’s laws

Exercise Chapter7 : Vectors

VECTORS AND SCALARS: BASIC CONCEPTS Exercise 7.2 Solution : 1. For the arbitrary points A, B, C, D and E, and a single  vector which is equivalent to A:   DC + CB    = DB B:  CE + DC   = DE 2.  shows a cube. Let p =  AB, q =  AD and  r =  AE . Express the vectors representing  BD,  AC and  AG in terms of p, q and r. Consider the triangle ABD shown in Figure. We note that  BD represents the third  side of the triangle formed when AD are placed head to tail. Using the triangle law we find :                      AB + BD = AD               => BD = AD - AB                             = q - p Consider the triangle  ADC  shown in Figure. We note that  AD  represe...

Matrix algebra

                 Matrices provide a means of storing large quantities of information in such a way that each piece can be easily identified and manipulated. They permit the solution of large systems of linear equations to be carried out in a logical and formal way so that computer implementation follows naturally. Applications of matrices extend over many areas of engineering including electrical network analysis and robotics. 1-BASIC DEFINITIONS                  Matrix is a rectangular pattern or array of numbers.      For example:                    are all matrices. Note that we usually use a capital letter to denote a matrix, and enclose the array of numbers in brackets. To describe the size of a matrix we quote its number of rows and columns in that order so, for example, an r × s matrix has r rows and s colu...