Skip to content

Instantly share code, notes, and snippets.

@RenatoRosaFranco
Created July 29, 2014 13:26
Show Gist options
  • Save RenatoRosaFranco/2ec90e1a6f7cca0c7404 to your computer and use it in GitHub Desktop.
Save RenatoRosaFranco/2ec90e1a6f7cca0c7404 to your computer and use it in GitHub Desktop.
Tabuada C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
// Recebe as Variaveis
int formula, contador, numero;
Console.Write("Digite o Numero para Obter a Taboada : ");
numero = Int32.Parse(Console.ReadLine());
//para
for (contador = 1; contador <= 10; ++contador)
{
formula = numero * contador;
Console.WriteLine(numero + " X " + contador + " = " + formula);
}
Console.ReadKey();
}
}
}
@RenatoRosaFranco
Copy link
Author

@theyllo Rapaz... feliz que este código ajudou. é mega antigo hehehe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment