Scanner keyboard = new Scanner(System.in);
System.out.print(\"please enter the operand:\");
e=exp(1.0)
while((int)((exp(1)-e)*pow(10,14)) !=0){
for (i=0; i<N;i+1){
p=1;
}
for(j=1; j<i+1; j++){
e=1/p;
System.out.print(\"please enter the operand:\");
System.out.print(\"please enter the operand:\");
e=exp(1.0)
while((int)((exp(1)-e)*pow(10,14)) !=0){
for (i=0; i<N;i+1){
p=1;
}
for(j=1; j<i+1; j++){
e=1/p;
System.out.print(\"please enter the operand:\");
{
case \'+\':
result=a+b;
System.out.println(\"result:\"+result);
break;
case \'-\':
result=a-b;
System.out.println(\"result:\"+result);
break;
case \'*\':
float exp, pow;
int i, j, N=1;
a=keyboard.nextDouble();
System.out.print(\"please enter the operator:\");
operator=keyboard.nextLine();
double e=1,p;
}
b=keyboard.nextDouble();
switch(operator.charAt(1))
미칠듯한 코드. 알바가 지울까
이건 신고해도 안지우겠다 ㅋㅋ..
넵 신고