Quien se ha llevado mi queso

Páginas: 9 (2220 palabras) Publicado: 6 de diciembre de 2011
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace jugadores
{
class Program
{
static void Main(string[] args)
{
string jugador1,jugador2,jugador3,jugador4,jugador5, respuesta = "S";
do
{
Console.WriteLine("INGRESE EL NOMBRE DEL JUGADOR 1 ! =):");jugador1=Convert.ToString(Console.ReadLine());
Console.WriteLine("CUANTOS PUNTOS ANOTO EN EL PRIMER CUARTO?:" + jugador1);
int puntos1 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("CUANTOS REBOTES OBTUVO EN EL PRIMER CUARTO?:" + jugador1 );
int rebotes1 = Convert.ToInt32(Console.ReadLine());Console.WriteLine("CUANTAS ASISTENCIAS OBTUVO EN EL PRIMER CUARTO?:" + jugador1 );
int asistencia1 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine();
Console.Write("CUANTOS PUNTOS ANOTO EN EL SEGUNDO CUARTO?:" + jugador1 );
int puntos2 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("CUANTOS REBOTES OBTUVO EN ELSEGUNDO CUARTO?:" + jugador1);
int rebotes2 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("CUANTAS ASISTENCIAS OBTUVO EN EL SEGUNDO CUARTO:" + jugador1);
int asistencia2 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine();
Console.WriteLine("CUANTOS PUNTOS ANOTO EN EL TERCER CUARTO?:" + jugador1);
intpuntos3 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("CUANTOS REBOTES OBTUVO EN EL TERCER CUARTO?:" + jugador1);
int rebotes3 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("CUANTAS ASISTECIAS OBTUVO EN EL TERCER CUARTO?:" + jugador1);
int asistencias3 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine();Console.WriteLine("CUANTOS PUNTOS ANOTO EN EL ULTIMO CUARTO?:" + jugador1);
int puntos4 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("CUANTOS REBOTES OBTUVO EN EL ULTIMO CUARTO?:" + jugador1);
int rebotes4 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("CUANTAS ASISTECIAS OBTUVO EN EL ULTIMO CUARTO?:" +jugador1);
int asistencias4 = Convert.ToInt32(Console.ReadLine());
int sumaP1 = (puntos1 + puntos2 + puntos3 + puntos4);
int sumaR1 = (rebotes1 + rebotes2 + rebotes3 + rebotes4);
int sumaA1 = (asistencia1 + asistencia2 + asistencias3 + asistencias4);

double promedio1 = sumaP1 / 4;Console.WriteLine("EL PROMEDIO DEL JUGADOS ES !!:" + jugador1 );
Console.WriteLine(promedio1);

Console.WriteLine("INGRESE EL NOMBRE DEL JUGADOR 2 ! =):");
jugador2 = Convert.ToString(Console.ReadLine());
Console.WriteLine("CUANTOS PUNTOS ANOTO EN EL PRIMER CUARTO?:" + jugador2);
int puntos11 = Convert.ToInt32(Console.ReadLine());Console.WriteLine("CUANTOS REBOTES OBTUVO EN EL PRIMER CUARTO?:" + jugador2);
int rebotes11 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("CUANTAS ASISTENCIAS OBTUVO EN EL PRIMER CUARTO?:" + jugador2);
int asistencia11 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine();
Console.Write("CUANTOS PUNTOSANOTO EN EL SEGUNDO CUARTO?:" + jugador2);
int puntos22 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("CUANTOS REBOTES OBTUVO EN EL SEGUNDO CUARTO?:" + jugador2);
int rebotes22 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("CUANTAS ASISTENCIAS OBTUVO EN EL SEGUNDO CUARTO:" + jugador2);
int asistencia22 =...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • ¿Quien se ha llevado mi queso?
  • Quién se ha llevado mi queso
  • Ensayo quien se llevo mi queso
  • Quien se ha llevado mi queso
  • Quien se ha llevado mi queso
  • Quien se llevo mi queso?
  • Trabajo Quien Se Ha Llevado Mi Queso
  • Quien se ha llevado mi queso

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS