Program:
package munim;
import java.util.Scanner;
public class real {
public static void main(String[] args){
Scanner mon=new Scanner(System.in);
double size;
size=mon.nextDouble();
if(size>40)
System.out.println("there are not dress in your size");
else{
if(size<10)
System.out.println("the dress start from 10 size");
else
System.out.println("there is a dress for you");
}
}
}
package munim;
import java.util.Scanner;
public class real {
public static void main(String[] args){
Scanner mon=new Scanner(System.in);
double size;
size=mon.nextDouble();
if(size>40)
System.out.println("there are not dress in your size");
else{
if(size<10)
System.out.println("the dress start from 10 size");
else
System.out.println("there is a dress for you");
}
}
}
Screenshots
program
Output
No comments:
Post a Comment