/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package feb11quiz; /** * * @author jcmtiernan */ public class Feb11Quiz { /** * @param args the command line arguments */ public static void main(String[] args) { int alpha = 0, beta = 0; // Assume user input values for alpha and beta /* if alpha is equal to beta plus 10, then print "Differ by 10"; if alpha equals twice the amount of beta, the print "Twice the size" if alpha is less than beta, print "Small alpha" Otherwise print "Random" You may abbreviate System.out.println as sop alpha = 20 , beta = 10 */ if (alpha == beta + 10) { System.out.println("Differ by 10"); } if (alpha == beta * 2) { System.out.println("Twice the size"); } else if (alpha < beta) { System.out.println("Small alpha"); } else { System.out.println("Random"); } } }