UNIX/Linux Bash Shell Scripting: Shell Script to Find Prime Number

UNIX/Linux Bash Shell Scripting: Shell Script to Find Prime Number

瀏覽:835
日期:2025-11-19
#!/bin/bash # SCRIPT: prime2a.sh # USAGE : ./prime2a.sh # PURPOSE: Finds whether given number is prime or not echo -n "Enter a number: "read num # Integer Validation #...看更多