Prerequisite:
if else command | Python
https://www.youtube.com/watch?v=9GJWK...
Java code used in this video:
import java.util.*;
public class Hello {
public static void main(String args[])
{
Scanner obj=new Scanner(System.in);
int x=obj.nextInt();
String s=(x%2==0)?"Even":"Odd";
System.out.println(s);
}
}
Python for beginners:
https://www.youtube.com/watch?v=egq7Z...
Telegram: https://t.me/clcoding_python
https://www.facebook.com/pirawenpython/
https://www.facebook.com/groups/piraw...
if else command | Python
https://www.youtube.com/watch?v=9GJWK...
Java code used in this video:
import java.util.*;
public class Hello {
public static void main(String args[])
{
Scanner obj=new Scanner(System.in);
int x=obj.nextInt();
String s=(x%2==0)?"Even":"Odd";
System.out.println(s);
}
}
Python for beginners:
https://www.youtube.com/watch?v=egq7Z...
Telegram: https://t.me/clcoding_python
https://www.facebook.com/pirawenpython/
https://www.facebook.com/groups/piraw...
0 Comments:
Post a Comment