Basic Exercises in Java #4

Below you will see others 5 solved basic exercises done in the Java language.

16.- Show the multiplication tables of 1 al 5.

Example of Results in the Exercise Console 16

17.- Draw a square of n elements with a side using *.

Example of Results in the Exercise Console 17

18.- Read 5 numbers and display them in the same order entered.

Example of Results in the Exercise Console 18

19.- Read 5 numbers and display them in reverse order.

Example of Results in the Exercise Console 19

20.- Read 10 integer numbers. And display them in the following order:

  • First
  • The last
  • The second
  • The penultimate
  • The third
  • Etc.

Example of Results in the Exercise Console 20

Let's hope and these examples have been of great help.

Do not forget to follow us on social networks, to be aware of everything.

Follow Facialix on all his social networks:

Leave a Reply

Your email address will not be published. Required fields are marked *

six + 4 =