-
Notifications
You must be signed in to change notification settings - Fork 0
/
Program.cs
27 lines (26 loc) · 847 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Heritage
{
class Program
{
static void Main(string[] args)
{
Mammifere m = new Mammifere("Ours","Afrique","grr",true);
m.Afficher();
Felin f = new Felin("lynx", "Asie", "GRA", true, 4);
f.Afficher();
Cetace c = new Cetace("Dauphin", "Océan Indien", "iii", true, 360, 100);
c.Afficher();
Lion l = new Lion("Leon", "Afrique centrale", "groa", false, 4);
l.Afficher();
Chat ch = new Chat("Samilou", "France", "miou", true, 4);
ch.Afficher();
Baleine b = new Baleine("kyky", "Océan Indien", "ouuua", true, 562, 300);
b.Afficher();
Console.ReadLine();
}
}
}