Skip to content

Instantly share code, notes, and snippets.

View royr27's full-sized avatar

royr27

  • Joined Sep 12, 2025
View GitHub Profile
import java.util.Scanner;
public class is_prime {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int choice = 0;
while (choice != 4) {
System.out.println("Welcome to my Prime Number Program:");