Add to your Selection project: if - else Demo public class IfElseDemo { public static void main(String[] args) { int testscore = 6; if (testscore >= 50) { System.out.println("You pass with a test Score of = " + testscore); } else { System.out.println("You pass with a test Score of = " + testscore); } } }
|