编辑代码

#include <iostream>
using namespace std;
int main() {
    int dsm(0);
    cout <<"请输入一个整数"<< endl;
    cin >> dsm;

    if(dsm > 0){
        if(dsm<= 10);
        cout <<"yes" << endl;
    } 
	
	return 0;
}