We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Java
- Introduction
- Java If-Else
- Discussions
Java If-Else
Java If-Else
Sort by
recency
|
1833 Discussions
|
Please Login in order to post a comment
can anyone please tell why it is not generating output for inputs 18 aand 20 if(N%2==0 ) { if((N>=2&&N<=5)||N>20){ System.out.println("Not Weird"); } }
import java.io.; import java.math.; import java.security.; import java.text.; import java.util.; import java.util.concurrent.; import java.util.function.; import java.util.regex.; import java.util.stream.*; import static java.util.stream.Collectors.joining; import static java.util.stream.Collectors.toList;
public class Solution { public static void main(String[] args) throws IOException { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
}
public class Solution {
}
Esta es mi solucion: