728x90
package ch01_variable_operator;
public class ErrorDebug {
public static void main(String[] args) {
int a,b,c ;
a = 21 ;
b = 7 ;
c = a+b ;
System.out.println("a+b = " +c);
c = a-b ;
System.out.println("a-b =" + c);
c = a/b;
System.out.println("a/b =" +c);
}
}
cf) Myjava/ErrorDebug.java at master · nolooker/Myjava (github.com)
728x90
반응형
'console.log("What ? " + Cord); > Java' 카테고리의 다른 글
<Git>MyBox.java (0) | 2023.02.04 |
---|---|
<Git>LogicalOperator.java (0) | 2023.02.04 |
<Git> Condition02.java (0) | 2023.02.02 |
<Git> CondOper01.java (0) | 2023.02.02 |
<Git> CondOper.java (0) | 2023.02.02 |