| about | help | code help+videos | done | prefs | 
| A positive int n is prime if it has exactly two factors. Given int n, return true if n is prime, and false otherwise. Assume that n is a positive number. isPrime(1) → false isPrime(2) → true isPrime(80) → false ...Save, Compile, Run (ctrl-enter) | 
Progress graphs: 
 Your progress graph for this problem
 Random user progress graph for this problem 
 Random Epic Progress Graph
Difficulty: 200
Copyright Nick Parlante 2017 - privacy