import java.util.Scanner; class eveodd{ public static void main(String args[]) { Scanner eveodd= new Scanner(System.in); int num = eveodd.nextInt(); if(num%2==0) { System.out.print("num is even"); } else{ System.out.print("num is odd"); } } }
public class hello { public static void main(String[] args){ System.out.print("Enter a Number:"); Scanner num =new Scanner(System.in); int a=num.nextInt(); if(a%2==0){ System.out.print("Even Number"); } else { System.out.print("Odd Number"); } }
import java.util.Scanner; class hello{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int num =scan.nextInt(); int num1 = num%2;
import java.util.Scanner; class hello{ public static void main(String args[]) { Scanner Scan = new Scanner(System.in); int a = Scan.nextInt(); if(a%2==0) { System.out.print("it is even"); } else { System.out.print("it is odd"); }
import java.util.Scanner; class numbers { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); if (a%3 == 0 && a%5 == 0) { System.out.println("the given number "+a +" is divisible by 3"); System.out.println("the given number "+a +" is divisible by 5"); } else { System.out.println("the given number "+a +" is not divisible by 3"); System.out.println("the given number "+a +" is not divisible by 5"); } } }
Anna pls daily video upload pannunga
Cover java generics, collection, threading, arrays concepts, and finally DSA important anna PLEASEEEEEEEEE
Bro Your Teaching is very well. Your videos (html,css,javascript,mysql,linkedin,github) now java series And I am still learning.🙏🙏🙏
Class name{
Public static void main(String args[])
{
Int num = 14;
If(num%2==0)
{
System.out.print("even");
}
else
{
System.out.print("odd");
}
}
}
Output:
Even
Advance 600k family 💥
for the very first problem we can also put >= 35
Yeah but why doesn't he tell that
Bro nee solrathuku munnadiye kadasi code potuten😂🔥
Mark >=35 potu panalam la anna
nanum apdi poten bro podalam
iam using the scanner for the last task very helpfull for me thankyou so much bro
import java.lang.System;
import java.util.Scanner;
class Q4_02{
public static void main(String args[])
{
Scanner scan = new Scanner(System.in);
System.out.print("Enter num:");
int num = scan.nextInt();
if(num%2==0){
System.out.println("Even");
}
else{
System.out.println("Odd");
}
}
}
Bro Neega podura video ennaku romba useful iruku Thanks bro🙏❤
even or odd program successfully completed
Completed..
I did❤️
Bro ppt epdi bro edukuradhu link la available ah irukum nu soninga
Yeah, I wrote program for qn4 by own.. Bro really your teaching is well
Scanner sc = new scanner(system.in);
Int num = sc.next int;
If(num%2 ==0){
System.out.println(“even”)
Else:{
System.out.println(“odd”)
}
It is effective to learn coding with your video bro
Import java. util. Scanner;
Class hello{
Public static void main(String args[]){
Int num =25;
If(num%2==0){
System. Out. Println("even");
}
Else{
System. Out. Println("odd");
}
}
}
bro THANKS that's all I can say😔subscribed
find even or odd number succesfully completed
Naney pottutten na❤ antha last one🎉
Bro last la sonna program try panniten ❤
program completed
complete anna🤗 it's very useful for me Anna I'm third year student it's make to learn quickly anna
Bro Anwar vanthuruchu
Thank you 🙏🏻
Hi John notes link is not opening getting 404 error kindly check & reload .Thanks
Bro vera mari bro ni...
Always welcome.
Anna Odd or even program poten
Output crt aa vanthuruchu 😎😎
Super na😊
Thanks!
Successfully competed
import java.util.Scanner;
class demo{
public static void main(String args[])
{
Scanner scan = new Scanner(System.in);
int mark = scan.nextInt();
if(mark%2==0)
{
System.out.print(mark+" "+"is even number");
}
else
{
System.out.print(mark+" "+"is odd number");
}
}
}
na nenga sonna ela task panna even last task very helpfull thank you anna
Pro even number and odd number output successfully completed
import java.util.Scanner;
class main{
public static void main(String args[])
{
Scanner scan=new Scanner(System.in);
int num=scan.nextInt();
if(num%2 == 0 || num%3 == 0)
{
System.out.print("even");
}
else{
System.out.print("odd");
}
}
}
Finding the given number is odd number or even number is done bro❤❤❤
Executed successful bro
bro in 22:54 , i guess you have used And operator instead of OR operator
import java.util.Scanner;
class eveodd{
public static void main(String args[])
{
Scanner eveodd= new Scanner(System.in);
int num = eveodd.nextInt();
if(num%2==0)
{
System.out.print("num is even");
}
else{
System.out.print("num is odd");
}
}
}
Sir >= 35 nu change pannalum pass nu thaaneh varum
Yes
Anna project download pannurathuku oru nalla website sollunga Anna Please.
compeleted anna
int mark = 35;
if(mark>=35){
System.out.println("pass");
}
else{
System.out.println("fail");
}
output:pass
ipdi kuduthalum pass thaney varum bro??
Mm ama bro
import java.util.Scanner;
class demo
{
public static void main(String args[])
{
Scanner S = new Scanner(System.in);
System.out.print("Enter any number: ");
int num=S.nextInt();
if (num%2 == 0)
{
System.out.print(num+" "+"it's even");
}
else
{
System.out.print(num+" "+"it's odd");
}}}
public class hello {
public static void main(String[] args){
System.out.print("Enter a Number:");
Scanner num =new Scanner(System.in);
int a=num.nextInt();
if(a%2==0){
System.out.print("Even Number");
}
else
{
System.out.print("Odd Number");
}
}
nov mass na nee😮💨😮💨😮💨
for odd or even we can use either one of these: num==0,num!=1,num==1,num!=0 as per true false.....apart from this any other ways ?
Thank you so much broo for your teaching is very good
Ys done🤩
Digital marketing course start panunga bro
I completed the last coding bro
Bro last question na scanner la code print pana correct or wrong
Last program complete bro 🎉
>= use pannalame brother
import java.util.Scanner;
class hello{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int num =scan.nextInt();
int num1 = num%2;
if(num1>0)
{
System.out.println("Odd number");
}
else{
System.out.println("Even number");
}
}
}
import java.util.Scanner;
class hello{
public static void main(String args[])
{
Scanner Scan = new Scanner(System.in);
int a = Scan.nextInt();
if(a%2==0)
{
System.out.print("it is even");
}
else
{
System.out.print("it is odd");
}
}
import java.util.Scanner;
class hari{
public static void main (String []args){
Scanner scan=new Scanner (System.in);
int value=scan.nextInt();
if(value %2==0)
{
System.out.print("Even Number");
}else{
System.out.print("Odd Number");
}
}
}
Thanks bro 😊
program completed 👍
Anna ppt? 😢 4:03
done bro completed
import java.util.Scanner;
class numbers
{
public static void main(String args[])
{
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
if (a%3 == 0 && a%5 == 0)
{
System.out.println("the given number "+a +" is divisible by 3");
System.out.println("the given number "+a +" is divisible by 5");
}
else
{
System.out.println("the given number "+a +" is not divisible by 3");
System.out.println("the given number "+a +" is not divisible by 5");
}
}
}
import java.util.Scanner;
class check{
public static void main(String args[])
{
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
if (a%2 == 0 && a%2 != 0)
{
System.out.println("prime nunmber");
}
else{
System.out.print("odd number");
}
}
}
not able to download the ppt
import java.util.Scanner;
import java.lang.System;
class hello{
public static void main(String[] args){
Scanner sc= new Scanner(System.in);
int num1=sc.nextInt();
if(num1%2==0){
System.out.println("even");}
else{
System.out.println("odd");
}
sc.close();
}
}
18:56
1000th like
Bro one help please
Three js tutorial podamudiuma bro
done anna
💯
❤
Program odd or even complete bro 😊😊😊
linux tutorial podunga anna
done bro
Hi sir
Python project ideas
Done ✔️
Done.....😁
Done bro
completed #Man Bye bye 👋
bro next podungaa bro
completed
completed bro
Doneyy👍
odd number even number enakku vandhuruchu bro
Odd or Even number program potten output vanthuruchu
Bro i get the answer
Anna python programming data science pathe nariya video panuga na
Hi anna
complete
Thaala unnoda notes download pana mudiyala error katuthu
DSA tech pannuga bro
Yes!!
i do it brother
🙏❤🩹
Code potutan
public class even
{
public static void main(String[]args)
{
System.out.println((12%2==0)?"even":"odd");
}
}
done bro
Done ✅