You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
package calculator;
|
|
|
|
|
import java.util.Scanner;
|
|
|
|
|
public class main {
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
System.out.println("ѡ<><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n1<6E><31>e~x\n2<6E><32>logax\n3<6E><33><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n4<6E><34><EFBFBD><EFBFBD><EFBFBD>Ǻ<EFBFBD><C7BA><EFBFBD>\n0<6E><30><EFBFBD>˳<EFBFBD>");
|
|
|
|
|
Scanner inScanner = new Scanner(System.in);
|
|
|
|
|
|
|
|
|
|
int flag=1;
|
|
|
|
|
while(flag==1)
|
|
|
|
|
{
|
|
|
|
|
int op1=inScanner.nextInt();
|
|
|
|
|
switch(op1) {
|
|
|
|
|
case 1:
|
|
|
|
|
ex ex=new ex();
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
log log=new log();
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 3:
|
|
|
|
|
cal4 cal=new cal4();
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 4:
|
|
|
|
|
sj sj=new sj();
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 0: flag=0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
System.out.println("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|