#include <stdio.h>

int isPrime(int n){
    int i;
    for(i=2;i<n;i++){
        if(n%i==0){
            return 0;
           
        }
        
    }
     return 1;
}

int main() {
    int i,j,k;
    for(i=19;i>=10;i--){
        
        if(isPrime(i)==1){
            printf("%d ",i);
        }
    }
    return 0;
}

Embed on website

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