correct the program
public class Nested
public static void main(String args[x
int num=70
iff num < 100 x
System.out.println("number is less than 100"
if(num > 50
System.out.println("number is greater than 50")
}
Answers
Answered by
2
Answer:
public class Nested
{
public static void main(String args[ ])
{
int num=70;
if (num < 100 )
System.out.println("number is less than 100");
if(num > 50)
System.out.println("number is greater than 50");
}
}
Similar questions