Java Even Number Odd Number Example Program ( User Input )

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 43

  • @bruceintrepid3192
    @bruceintrepid3192 2 ปีที่แล้ว +4

    U just gained a new follower...great work keep it up

  • @hiraeth-g5k
    @hiraeth-g5k ปีที่แล้ว +2

    the only person that actually explains what he's doing😭😭 love you bro 🫶

  • @rajeshwaria1081
    @rajeshwaria1081 3 ปีที่แล้ว +7

    Thank you so much sir.... your explanation is clear

  • @hiddled7739
    @hiddled7739 2 ปีที่แล้ว +5

    Thank you so much sir! can you also do arrays on this sir?

  • @NtendeleniRambani
    @NtendeleniRambani หลายเดือนก่อน +1

    was very helpful thank you

  • @vinayaka315
    @vinayaka315 6 หลายเดือนก่อน +1

    Thank you so much sir,I helps me a lot 😊

  • @blsbapun1128
    @blsbapun1128 3 ปีที่แล้ว +1

    Sir your video is vary help fulll for me so thanks you so much sir you are omaging

  • @suyahatesntr
    @suyahatesntr ปีที่แล้ว +2

    I am an idiot. I literally listed all numbers 1-100 in switch case statement to produce a result that tells of it is an even or odd number. Luckily, the instructor acknowledged it. I didn't think of this method.

    • @ExampleProgram
      @ExampleProgram  ปีที่แล้ว

      its ok
      keep writing code
      it will make you better :)

  • @user-xs8xu5dr4r
    @user-xs8xu5dr4r 4 หลายเดือนก่อน +1

    you left the { sign after the if bracket yeah hope am not the only one who saw that that...correct me if am wrong but its an error

  • @farzanabatool2728
    @farzanabatool2728 3 ปีที่แล้ว +1

    Thank you sir
    May God bless you

  • @mrpromoter8916
    @mrpromoter8916 2 ปีที่แล้ว +1

    Which software did you use for this

  • @JJJJ-gl2uf
    @JJJJ-gl2uf 2 ปีที่แล้ว +1

    Great work.

  • @alexisritenour1925
    @alexisritenour1925 3 ปีที่แล้ว +2

    thank you helped so much!

  • @mrpromoter8916
    @mrpromoter8916 2 ปีที่แล้ว

    Can we use SciTe Software for this

  • @gideonarias5192
    @gideonarias5192 3 ปีที่แล้ว +1

    What app do you use, Sir?

  • @4ND1N_
    @4ND1N_ 3 ปีที่แล้ว

    is this work on cp?

  • @trixieann6076
    @trixieann6076 3 ปีที่แล้ว +1

    Thank you so much❤️

  • @bosar18
    @bosar18 2 ปีที่แล้ว

    how can you do this but using a boolean

  • @cmct.technology4061
    @cmct.technology4061 4 ปีที่แล้ว

    What is brace format sir

  • @biswajitmishra6914
    @biswajitmishra6914 3 ปีที่แล้ว +1

    what is this scan system ? plz help

  • @titan.gaming.
    @titan.gaming. 2 ปีที่แล้ว

    Titan here

  • @sahuyuvraj2427
    @sahuyuvraj2427 2 ปีที่แล้ว

    Where is thread brother😁

  • @aimanmehboob8893
    @aimanmehboob8893 3 ปีที่แล้ว +1

    is not working

  • @jkovert
    @jkovert 2 ปีที่แล้ว

    Is there a rattlesnake outside your window?

  • @shehan9157
    @shehan9157 8 หลายเดือนก่อน

    import java.util.Scanner;
    class EvenorOdd {
    public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    System.out.println("Enter your Number : ");
    int userInput = scan.nextInt();
    if (userInput % 2 == 0 ){
    System.out.println("YOur Number is even");
    }
    else {
    System.out.println("Your Number is odd ");
    }
    }
    }