#include <stdio.h>

int main() {
    float n1, n2;
    
    printf("\nInserisci il primo valore: ");
    scanf("%f", &n1);
    
    printf("\nInserisci il secondo valore: ");
    scanf("%f", &n2);
    
    if (n1 < n2) {
        printf("%f > %f\n", n2, n1);
    } 
    else if (n2 < n1) {
        printf("%f > %f\n", n1, n2);
    } 
    else {
        printf("%f = %f\n", n2, n1);
    }
    
    return 0;
}

Embed on website

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