import java.util.Scanner; public class Prime { public static void main(String[] args) { Scanner scan = new Scanner(System.in); //todo: write a method which tells you if a given number is a prime or not } }