23. Nth Prime Number
Lesson 24 of 31 in Coddy's 30 Days of Logic Building in C++ course.
Challenge
EasyWrite a function to find the Nth prime number.
- Input: 3
- Output: 5
Try it yourself
int findNthPrime(int num) {
// Write code here
}All lessons in 30 Days of Logic Building in C++
1Introduction
Introduction