Question2です

This commit is contained in:
2026-09-11 16:19:51 +09:00
parent 81d17fd20a
commit 85a626ef91
11 changed files with 48 additions and 14 deletions

View File

@@ -7,11 +7,11 @@
public class PTra02_01 {
public static void main(String[] args) {
int sum;
int diff;
int mulch;
int div;
int rem;
int sum = 6+2;
int diff = 6-2;
int mulch = 6*2;
int div = 6/2;
int rem = 17%5 ;
// TODO 6+2を計算して結果を変数sumに代入してください