/* kertaus 2 */ #include main() { double x, y; printf("Anna kaksi lukua: "); scanf("%lf%lf", &x, &y); if (x > y) { printf("%lf %lf\n", x, y); } else { if (x == y) { printf("Luvut ovat yhtäsuuret\n"); } else { printf("%lf %lf\n", y, x); } } }