fork download
  1. class Ideone
  2. {
  3. public static void main (String[] args)
  4. {
  5. int score = 58; // 成績
  6.  
  7. if(score >= 60) {
  8. System.out.println("合格です!");
  9. } else {
  10. System.out.println("赤点です...");
  11. }
  12. }
  13. }
Success #stdin #stdout 0.06s 32756KB
stdin
Standard input is empty
stdout
赤点です...