public class IfExample { public static void Main(string[] args) { int num = 11; if (num % 2 = 0) { Console.WriteLine("It is even number"); } else { Console.WriteLine("It is odd number"); } } } *
whats the output?
Answers
Answered by
1
OUTPUT :
It is odd number
Explanation :
//WELL I M NOT JAVA PROGRAMMER I M C++ OF STD 10 BUT I HAVE SOME KNOWLEDGE ABOUT JAVA
11 is not divisible by 2 according to given condition so this output will
Similar questions
Hindi,
1 month ago
English,
1 month ago
Social Sciences,
3 months ago
Social Sciences,
3 months ago
Hindi,
10 months ago