#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //敲桌子 int i ; for (i = 1; i <= 100; i++) { if (i % 10 == 7 || i / 10 == 7 || i % 7 == 0) { cout << "请敲桌子跳过" << endl; continue; } cout << i << endl; } system("pause"); return 0; }