Merhaba, odevi yapamadım, daha yeni başladım c diline.. şu istenen programı yazarsanız sevinirim..
array kullanarak yapılacak.. ip adresi icin 100 array tanımlıycaz.. alttaki iki fonksiyonu icerecek program.. 5 e basınca da cıkacak programdan..

-max()= ip adresini ve bağlı kalma zamanını alan ve maximum olanı donduren..
-listip()= yine diğeri gibi ip adresi ve zamanı alıp, bu kez bir zaman da alıp bu zamandan fazla bağlı kalan ip leri listeleyen fonksiyon..
yardımcı olursanız sevinirim..

Ekran cıktısı:
1. Input an IP number
2. Find the max duration
3. Find the duration of given IP
4. List IPs
5. Quit
----------------------------
Enter your choice: 1
Enter IP and duration: 192.133.23.111 29
192.133.23.111 added to the list.
1. Input an IP number
2. Find the max duration
3. Find the duration of given IP
4. List IPs
5. Quit
----------------------------
Enter your choice: 2
Max duration is 43 mins. with IP 193.144.23.1
1. Input an IP number
2. Find the max duration
3. Find the duration of given IP
4. List IPs
5. Quit
----------------------------
Enter your choice: 4
193.111.32.2 20 min
193.144.23.1 43 min
192.133.23.111 29 min
193.212.33.1 11 min
1. Input an IP number
2. Find the max duration
3. Find the duration of given IP
4. List IPs
5. Quit
----------------------------
Enter your choice: 3
Enter IP:193.212.33.1
Duration: 11 min
1. Input an IP number
2. Find the max duration
3. Find the duration of given IP
4. List IPs
5. Quit
----------------------------
Enter your choice: 5
__________________