Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #72.7K
~784 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for forumposters

I need to write a main() function, that loops over a bunch of numbers from 0 to 100, calls another function called isPrime() for each of them, and print out the numbers that are prime. I'm new to C++ and any help would be appreciated.

Member Avatar for yashsaxena
0
784