/
Program.cs
48 lines (42 loc) · 1.13 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace finalproject
{
class Program
{
static void Main(string[] args)
{
//AMMAra
//Composition b/wcashier and bill
try
{
cashier c = new cashier();
c.showbill();
}
catch (Exception)
{ }
//IQRA
//composition b/w bill nd customer
coustomer c2 = new coustomer();
c2.showDATA();
//aggregation b/w search and bill
search s2 = new search();
bill b3 = new bill();
b3.showUs(s2);
//MAHNOOR
// aggregation between book and library
book b = new book();
library L = new library();
L.show(b);
// agrregation b/w bill nd search
bill b2 = new bill();
search s = new search();
s.showMe(b2);
//
Console.ReadKey();
}
}
}