This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package guangzhaowei;
import java.util.Scanner;
public class Calculator{
public static void main(String[] args){
char e;
boolean f=true;
Scanner in = new Scanner(System.in);
while(f){
System.out.println("请选择运算方式:+、-、*、/、^、"
+ "对数:l,三角函数:s;或者退出:e");
e=in.next().charAt(0);
switch(e){
case '+':case '-':case '*':case '/':
Easy.c();
break;
case '^':
Exp.pow();
case 'l':
Logarithm.log();
case 's':
Triangle.angle();
case 't':
f=false;
}