Coding
import java.io.*;
public class yuni
{public static void main (String[] args)throws Exception
{DataInputStream karakter = new DataInputStream(System.in);
System.out.print("masukan nilai tugas : ");
String nil1 = karakter.readLine();
double xnil1 = Double.valueOf(nil1).doubleValue();
System.out.print("masukan nilai uts : ");
String nil2 = karakter.readLine();
double xnil2 = Double.valueOf(nil2).doubleValue();