using UnityEngine;

using System.Collections;


public class Zoro : MonoBehaviour {


// Use this for initialization

void Start () {

string text;

for(int i = 4; i >= 0; i--){

text = " ";

for(int j = 0; j < 5; j++){

if(i ==0){

text = text + "*";

}

else if( i>=1 && i < 4){

if(i > j)

text = text + " ";

if(i == j)

text = text + "*";

if(i < j)

text = text + " ";

}

else if(i==4){

text = text + "*";

}

}

print (text);

}

}


+ Recent posts