using UnityEngine;
using System.Collections;
public class NewBehaviourScript : MonoBehaviour {
// Use this for initialization
void Start () {
for (int i=1; i<10; i++) {
string s = "";
for (int j=1; j<=i; j++) {
s += j + "*" + i + "=" + i * j + "\t";
}
Debug.Log (s);
}
}
// Update is called once per frame
void Update () {
}
}
using System.Collections;
public class NewBehaviourScript : MonoBehaviour {
// Use this for initialization
void Start () {
for (int i=1; i<10; i++) {
string s = "";
for (int j=1; j<=i; j++) {
s += j + "*" + i + "=" + i * j + "\t";
}
Debug.Log (s);
}
}
// Update is called once per frame
void Update () {
}
}