Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main ()
- int input=0;
- int number=0;
- int start=1;
- {
- cout << "What are the prime numbers from 1 to what number you would like to calculate?" << endl;
- cin >> input;
- for (number = input; number <= 0; number--)
- if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement