How can i make codes for this?
Problems for Program Development

  1. Create a java program that will display a menu for choices to perform the following routines:
  2. Input a number then determine and display the factors of the number.
  3. Input a number then determine and display if the number is odd or even.
  4. Input a number then determine and display if the number is a Perfect Number or Not.
  5. Input the elements of a 1-dimensional array using the Random Class (random elements
    from 0 to 9 and random size from 0 to 10) then display the sorted elements in ascending
    order.
  6. Input the elements (from 0 to 9) of a (5x5) 2-dimensional array using the Random Class
    then display the sum of all odd elements in the array.

Share your work so far. Read https://www.daniweb.com/welcome/rules about providing evidence of your work.

If the assignment(s) are too daunting, break the problem down to workable chunks. At this point in your class you should be able to complete at least half of item 1. That is, a menu asking for which number problem to solve.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.