//Escribir un programa que calcule los numeros primos entre 20 y 100
//Anderson Ponciano
//02/06/2020
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
system ("color F2");
cout<<"Numeros primos entre 20 y 100:"<<endl;
int i;
for(int n=23; n<100; n++)
{
for(i=2; n%i; i++);
if(i==n) cout<<setw(4)<<n;
}
cout<<endl;
cin.get();
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: