package Sahe;public class Cavadov { public static void main(String[] args) { int yas = 19; /*ozumden yas verirem*/ if (yas > 1 && yas<=5) { System.out.println("korpe"); } else if (yas >5&&yas<=10) { System.out.println("usaq"); } else if (yas > 10&&yas<=18 ) { System.out.println("genc"); } else if(yas>18) { System.out.println("yetkin"); } }}
package javaders;public class DersBewTapwiriq { public static void main(String[] args) { int yas = 1; if(yas >=1 && yas<=5 ){ System.out.println("korpe"); } else if (yas > 5 && yas <= 10) { System.out.println("uwaq"); } else if (yas<10 && yas<=18 ){ System.out.println("genc"); } else if (yas>18){ System.out.println("yetiwkin"); } }
package Sahe;
ReplyDeletepublic class Cavadov {
public static void main(String[] args) {
int yas = 19; /*ozumden yas verirem*/
if (yas > 1 && yas<=5) {
System.out.println("korpe");
} else if (yas >5&&yas<=10) {
System.out.println("usaq");
} else if (yas > 10&&yas<=18 ) {
System.out.println("genc");
} else if(yas>18) {
System.out.println("yetkin");
}
}
}
package javaders;
ReplyDeletepublic class DersBewTapwiriq {
public static void main(String[] args) {
int yas = 1;
if(yas >=1 && yas<=5 ){
System.out.println("korpe");
} else if (yas > 5 && yas <= 10) {
System.out.println("uwaq");
} else if (yas<10 && yas<=18 ){
System.out.println("genc");
} else if (yas>18){
System.out.println("yetiwkin");
}
}