Комментарии:
Wat about the else - if
Ответитьbro thank you so much you are the only reason i did't quit this
ОтветитьOn which app do you program?
ОтветитьMan you are great but can u please chill don't teach to fast we can't catch up
Ответить👌👌👍
ОтветитьYou are great bro!!
Ответитьpublic class Main{
public static void main(String[] args){
Scanner a = new Scanner(System.in);
System.out.print("enter an integer:");
if (a.nextInt()%2==0)
System.out.println(a.nextInt()+" is even");
else
System.out.println(a.nextInt()+" is odd");
sir y is the above piece of code asking me two to enter a number twice??
please help me out
AND THANK YOU SO MUCH FOR YOUR LECTURES !!
thank you
ОтветитьNice voice & thanks u teaching sir
Ответить