Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class IfElseTest {
- public static void main(String[] args) {
- int n1=2, n2=4, n3=19;
- if(n1<n2){
- System.out.println("they are not equal");
- }
- else{
- System.out.println("they are equal");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment