Write a Java TCP Client-Server Program for Currency Converter as shown below. a CLIENT SERVER IP Address: 123.36.69.6 Do
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a Java TCP Client-Server Program for Currency Converter as shown below. a CLIENT SERVER IP Address: 123.36.69.6 Do
Write a Java TCP Client-Server Program for Currency Converter as shown below. a CLIENT SERVER IP Address: 123.36.69.6 Domain Name: CurrencyConveret Port: 2834 NOTE Server Details are in the above figure ► Client-Server communicates continuously until the Client send Bye to the Server NOTE: 1 SAR = 0.26 USD (US Dollar) 1 SAR - 0.24 EUR (Euro) 1 SAR = 0.20 GBP (British Pound) 1 SAR - 1.73 CNY (Chines Yuan) Sample Output: Client Server From Server Present Currency Rates: Server Waiting for the Cline to be Connected... 1 SAR - 0.26 USD (US Dollar) CONECTION ESTABLISHED 1 SAR = 0.24 EUR (Euro) 1 SAR = 0.20 GBP (British Pound) Received From Client : 10 SAR 1 SAR = 1.73 CNY (Chines Yuan) Received From Client: BYE Enter currency in SAR or BYE to EXIT: 10 Received from Server : 10 SAR - 2.6 USD (US Dollar) 10 SAR = 2.4 EUR (Euro) 10 SAR = 2.0 GBP (British Pound) 10 SAR = 17.3 CNY (Chines Yuan) Enter currency in SAR: BYE Received from Server: Thank You For Using My Program Client DISCONNECTED
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!