Java program on datagram socket for client/server to display the message on client side, typed at the server side

import java.util.*; import java.net.*; import java.io.*; public class udpserver { public static void main(String args[]) { DatagramSocket aSocket=null; Scanner scan=new Scanner(System.in); int ServerPort=999; System.out.println("Server ready n Waiting for connectionn"); try…

Continue ReadingJava program on datagram socket for client/server to display the message on client side, typed at the server side

python program to find best of two test average marks out of three tests marks accepted from the user

#test.py #Average of best 2 in marks of 3 tests marks1=int(input("Enter test 1 marks : ")) marks2=int(input("Enter test 2 marks : ")) marks3=int(input("Enter test 3 marks : ")) minimum=min(marks1,marks2,marks3) sumofbest2=marks1+marks2+marks3-minimum…

Continue Readingpython program to find best of two test average marks out of three tests marks accepted from the user