
Untitled
By: a guest on
May 24th, 2012 | syntax:
C# | size: 1.33 KB | hits: 15 | expires: Never
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
char r;
do
{
double[][] mas;
int a, i;
ArrayList masd;
masd = new ArrayList();
mas = new double[5][];
for (i = 0; i != 5; i++)
{
Console.WriteLine("введите количество эелементов строки");
a = int.Parse(Console.ReadLine());
mas[i] = new double[a];
}
Console.WriteLine("исхоодный масив масивов:");
methods.zap(mas);
Console.WriteLine();
methods.viv(mas);
Console.WriteLine();
Console.WriteLine("масив положительных чисел:");
methods.opr(mas);
Console.WriteLine(" для продолжения нажмиет y");
r = char.Parse(Console.ReadLine());
Console.WriteLine();
} while (r == 'y');
}
}
}