Professional Documents
Culture Documents
מדעי המחשב 2018
מדעי המחשב 2018
{
int place = 0;
for (int i = m; i< arrayNum. Length; i++)
if (arrayNum[i] % 2 != 0)
place = i;
return arrayNum[place);
}
a[i] = 0;
{
int x1 = arr[i].GetFirst();
int x2 = arr[i].GetSecond();
int x3 = arr[i].getThird();
a[x3] = a[x3] + 1;
}
{
if (a[i] > max)
{
max = a[i];
place = i;
}
}
Console.WriteLine(place);
}
public class Time
{
private int hour;
private int minute;
this.hour - hour;
this.minute - minute;
}
public Flight (String name, String destination, String lightCode, Time flight Time)
{
this.name = name;
this.destination - destination;
this.flightCode - flightCode;
this.flight Time - flight Time;
}