Monday, 3 December 2012

Simple output display


public static void main(String args[])
{
int i=1;
int j;
while(i<=7){
for(j=1;j<=i;j++)
System.out.print("*");
i=i+2;
System.out.println("");
}
i=5;
while(i>=1){
for(j=1;j<=i;j++)
System.out.print("*");
i=i-2;
System.out.println();
}
}


Output:


*
***
*****
*******
*****
***
*


DBT - Models

Models are where your developers spend most of their time within a dbt environment. Models are primarily written as a select statement and ...