#include<iostream>
using namespace std;
int main()
{
    int n;
    cout<<"Enter number greater than 6: "<<endl;
    cin>>n;
    while(n<=6)
    {
        cout<<"Please eneter number greater than 6 : "<<endl;
        cin>>n;
    }
    cout<<"Thanks!!!!"<<endl;
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: