Sie sind auf Seite 1von 5

INTRODUCCION A LA PROGRAMACIÓN

UNIDAD 1 – FASE 1 MANEJAR IDE Y ESTRUCTURAS BÁSICAS DE PROGRAMACIÓN

ESTUDIANTES:

Juan Pablo Perez Cuta

COD. 1053512644

TUTOR (A)

MIRIAN DEL CARMEN BENAVIDES

GRUPO: 301304_19

UNIVERSIDAD ABIERTA Y A DISTANCIA.

INGENIERIA INDUSTRIAL

SOGAMOSO

2018
Inicio de actividad creación del proyecto

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Figuras
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Rectangulo");

int cont;
for (cont=1; cont <=6; cont ++)
{
Console.WriteLine("aaaaa");
}
//Figuras 2 Triangulo

Console.WriteLine("");
Console.WriteLine("");
Console.WriteLine("");

Console.WriteLine("Triangulo");

int aux;
for (cont=1;cont<=5;cont++)
{
for (aux = 1; aux <= cont; aux++)
{
Console.Write("a");
}
Console.WriteLine("");
}
Console.WriteLine("");
Console.WriteLine("");
Console.WriteLine("");

Console.WriteLine("Cuadrado");
{
int Cont;
for (cont = 1; cont <= 5; cont++)
{
Console.WriteLine("aaaaa");
}
}

Console.ReadKey();
}
}
}
Cuadrado

Das könnte Ihnen auch gefallen