/****************************************************************************** * Name: * Login: * Precept: * * Description: A typical egg carton holds 12 eggs. Write a program that * reads in an integer from the command line that represents the number * of eggs all your chickens have laid. Print out two numbers: how many * full cartons of eggs you can take to market, and how many eggs will be * left over. Hint: use %. * * Dependencies: None. * * Examples: * > java Eggsactly 12 * 1 0 * > java Eggsactly 27 * 2 3 *****************************************************************************/ public class Eggsactly { public static void main(String[] args) { // reads total number of eggs int n = Integer.parseInt(args[0]); // print number of filled cartons System.out.print(________); System.out.print(" "); // print number of eggs left over System.out.println(________); } }