Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #54.9K
~147 People Reached
Favorite Forums
Favorite Tags
c++ x 3
Member Avatar for sonygamer

Hi everyone, I have to write a code that finds and prints all prime numbers from 2 to whatever number the user inputs, be it 10 or 10,000. So far what i have is this: [code=cplusplus] #include <iostream> using namespace std; int main(){ int n,p,t,limit; cout<<"input the limit:"; cin>>limit; //outer …

Member Avatar for ashen77
0
147