#include using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char** argv) { //purpose:列印2到100間的所有質數 for(int i=2;i<=100;i++) { bool yn=false; for(int j=2;j