BLOQUE 2
"TECNOLOGÍAS"ACT 1
ACT DE C# 2
class Program
{
static void Main(string[]
args)
nom=Console.Read();
switch(nom);
{
case"A";
Console.WriteLine("el nombre es:"nom);
Convert.ToInt16(ReadLine));
break;
case"S";
Console.WriteLine("el nombre es:"nom);
Convert.ToInt16(ReadLine));;
break;
case"X";
Console.WriteLine("el nombre es:"nom);
Convert.ToInt16(ReadLine));
break;
case"D";
Console.WriteLine("el nombre es:"nom);
Convert.ToInt16(ReadLine));
break;
case"H";
Console.WriteLine("el nombre es:"nom);
Convert.ToInt16(ReadLine));
break;
default;
Console.WriteLine("no es ninguno de los anteriores");
Convert.ToInt16(ReadLine));
break;
}
}
ACT DE C# 3
class Program
{
static void Main(string[]
args)
{
string
nom:
nom = Console.Read():
switch(nom)
case "alexis";
Console.WriteLine('el_nombre_es',nom);
Console.Read();
break;
case
"mauricio";
Console.WriteLine('el
break;
case "diego";_nombre_es',nom);
Console.Read();
Console.WriteLine('el_nombre_es',nom);
Console.Read();
break;
case
"fernanda";
Console.WriteLine('el_nombre_es',nom);
Console.Read();
break;case
case
"hada";
Console.WriteLine('el_nombre_es',nom);
Console.Read();
break;
case
"joarib";
Console.WriteLine('el_nombre_es',nom);
Console.Read();
break;
case
"lilbeth";
Console.WriteLine('el_nombre_es',nom);
Console.Read();
break;
default:
Console.WriteLine('no_es
ninguno_de_los_anteriores'):
break:
}
ACT DE C# 4
class
Program
{
static void Main(string[]
args)
char caracter 0 " ";
Console.ReadLine("el
caracter es una vocal");
caracter=
Convert.ToString(Console.ReadLine());
switch
(caracter);
{
case
a;
case
e;
case
i;
case
o;
case
u;
Console.WriteLine("el_caracter_es_un_numero");
case 0;
case
1;
case
2;
case
3;
case
4;
case
5;
case
6;
case
7;
case
8;
case
9;
case 10;
Console.ReadLine("el_caracter_es_una_letra");
case a;
case
b;
case
c;
case
d;
case
e;
case
f;
case
g;
case
h;
case
i;
case
j;
case
k;
case
l;
case
m;
case
n;
case
ñ;
case
o;
case
p;
case
q;
case
r;
case
s;
case
t;
case
u;
case
v;
case
w;
case
x;
case
y;
case
z;
}
C# DE FOR Y CICLO PARA
C# DE FOR Y CICLO PARA
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Text;
namespace
ConsoleApplication1
{
class Program
{
static void Main(string[]
args)
{
int inicio = 0;
for (inicio = 1; inicio <= 10; inicio++)
Console.WriteLine("itercion
igual a {0}", inicio);
}
}
}
C# CHAT WHILE ACT 6
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
double r = 0.5;
while (r <= 10)
{
r = r + 0.5;
Console.WriteLine("{0}", r);
}
Console.ReadLine();
}
}
}
C# ACT 7
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int inicio = 0;
for (inicio = 1; inicio <= 10; inicio++)
Console.WriteLine("itercion igual a {0}", inicio);
}
}
}
C# ACT 9
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication5
{
class Program
{
static void Main(string[] args)
{
int dato = 0;
do
{
Console.WriteLine("dame ún valor");
Console.ReadLine();
}
while (dato <= 100);
}
}
}
C# CHAT WHILE ACT 6
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
double r = 0.5;
while (r <= 10)
{
r = r + 0.5;
Console.WriteLine("{0}", r);
}
Console.ReadLine();
}
}
}
C# ACT 7
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int inicio = 0;
for (inicio = 1; inicio <= 10; inicio++)
Console.WriteLine("itercion igual a {0}", inicio);
}
}
}
C# ACT 9
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication5
{
class Program
{
static void Main(string[] args)
{
int dato = 0;
do
{
Console.WriteLine("dame ún valor");
Console.ReadLine();
}
while (dato <= 100);
}
}
}
act 10 c# segunda fase
https://drive.google.com/open?id=0B5E6TWFuCmZyOHFaOUtoMmhiQ1k
act 11 c# segunda fase
https://drive.google.com/open?id=0B5E6TWFuCmZyOGxZYXVmZVJWSlE
act 12 c# segunda fase
https://drive.google.com/open?id=0B5E6TWFuCmZyS0tkSDVmWl81X0U
act 13 c# segunda fase
https://drive.google.com/open?id=0B5E6TWFuCmZyU1FhR2FhZlNobzQ
https://drive.google.com/open?id=0B5E6TWFuCmZyOHFaOUtoMmhiQ1k
act 11 c# segunda fase
https://drive.google.com/open?id=0B5E6TWFuCmZyOGxZYXVmZVJWSlE
act 12 c# segunda fase
https://drive.google.com/open?id=0B5E6TWFuCmZyS0tkSDVmWl81X0U
act 13 c# segunda fase
https://drive.google.com/open?id=0B5E6TWFuCmZyU1FhR2FhZlNobzQ
No hay comentarios:
Publicar un comentario