vendredi 9 janvier 2015
a>b>c
Posted on 03:23 by verona
import java.util.Scanner;
public class javalernen2 {
public static void main (String arg []){
int x, y, z;
Scanner k = new Scanner (System.in);
x = k.nextInt();
y= k.nextInt();
z = k.nextInt();
if(x>y>z) {
System.out.println(x);}
else if(y>x>z){
System.out.println(y);
}
else if(z>x>y){
System.out.println(z);
}
}
}
hey zusammen wo ist mein fehler ???
public class javalernen2 {
public static void main (String arg []){
int x, y, z;
Scanner k = new Scanner (System.in);
x = k.nextInt();
y= k.nextInt();
z = k.nextInt();
if(x>y>z) {
System.out.println(x);}
else if(y>x>z){
System.out.println(y);
}
else if(z>x>y){
System.out.println(z);
}
}
}
hey zusammen wo ist mein fehler ???
a>b>c
Categories: a>b>c
Inscription à :
Publier les commentaires (Atom)
0 commentaires:
Enregistrer un commentaire