โ Back to Loops
Question 123
Loop: Check Prime Number
Loop: Check Prime Number
Determine whether the number 29 is prime (divisible only by 1 and itself). Print"prime"if it is, otherwise print"not prime". Expected output: prime
Expected Output:
prime
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.