# Tabla de multiplicar Ejercicio VB.Net - Curso de Programación Visual Basic

### Código

``````Imports System
Public Class exercise8
Public Shared Sub Main()
Dim x As Integer
Dim result As Integer
Console.WriteLine("Enter a number:")
result = x * 0
Console.WriteLine("The result is: {0} x {1} = {2}", x, 0, result)
result = x * 1
Console.WriteLine("The result is: {0} x {1} = {2}", x, 1, result)
result = x * 2
Console.WriteLine("The result is: {0} x {1} = {2}", x, 2, result)
result = x * 3
Console.WriteLine("The result is: {0} x {1} = {2}", x, 3, result)
result = x * 4
Console.WriteLine("The result is: {0} x {1} = {2}", x, 4, result)
result = x * 5
Console.WriteLine("The result is: {0} x {1} = {2}", x, 5, result)
result = x * 6
Console.WriteLine("The result is: {0} x {1} = {2}", x, 6, result)
result = x * 7
Console.WriteLine("The result is: {0} x {1} = {2}", x, 7, result)
result = x * 8
Console.WriteLine("The result is: {0} x {1} = {2}", x, 8, result)
result = x * 9
Console.WriteLine("The result is: {0} x {1} = {2}", x, 9, result)
result = x * 10
Console.WriteLine("The result is: {0} x {1} = {2}", x, 10, result)
End Sub
End Class``````

### Más ejercicios Visual Basic (VB.Net) de Primer contacto con Visual Basic

##### ConversiónCree un programa en Visual Basic para convertir de grados Celsius a Kelvin y Fahrenheit: le pedirá al usuario la cantidad de grados Celsius y utilizan...

Juan A. Ripoll - Tutoriales de Sistemas y Cursos de Programación© 2024 Todos los derechos reservados.  Condiciones legales.