using UnityEngine;
public class While7 : MonoBehaviour
{
int A = 0;
int B = 1;
public int lim = 100;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
while (A <= lim)
{
print (A);
int tempo = A;
A = B;
B = tempo + B;
}
}
// Update is called once per frame
void Update()
{
}
}