how can someone make a program that inputs from the screen two whole numbers and outputs all the prime numbers between both numbers
how can someone make a program that inputs from the screen two whole numbers and outputs all the prime numbers between both numbers
wheeee
Code:for(int x = min; x <= max; x ++) { total = 2; for(int y = 2;y < x; y ++) if(x % y != 0) total ++; if(total == y && x > 0) cout << x << endl; }
I am against the teaching of evolution in schools. I am also against widespread
literacy and the refrigeration of food.