Created
October 21, 2014 16:52
-
-
Save enricllagostera/9c2331ef23d9e88f1626 to your computer and use it in GitHub Desktop.
Escreva um script que calcule e mostre a tabuada (até 10x) de um número qualquer, digitado pelo usuário.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class Tabuada : MonoBehaviour | |
{ | |
public int num; | |
void Start () | |
{ | |
for (int mult = 0; mult <= 10; mult++) | |
{ | |
print (num * mult); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment