import java.util.Scanner; import java.io.PrintStream; import type.lib.ToolBox; public class BuyAndSell { public static void main(String[] args) { Scanner input = new Scanner(System.in); PrintStream output = System.out; output.print("Buy: "); int buy = input.nextInt(); output.print("Sell: "); int sell = input.nextInt(); boolean crash = sell > buy; ToolBox.crash(crash, "You cannot sell more than you buy"); } }