Skip to content

pchp250g8-home-java-tutorials/java-console-isnumbereven

Repository files navigation

IsNumberEven. Java tutorials. Simple Input/Output Console Application. Algorithms. A console application in the Java programming language. The program does the following:

  1. Prompts input a natural number (an integer positive).
  2. Calculates a modulo to 2 of the number.
  3. if the modulo is equal 0 the number is even or odd in another case. Developed in the Apache NetBeans integrated environment (in the Microsoft Visual Studio Code editor).

IsNumberEven. Занятия по Java. Консольное приложение. Простой Ввод/вывод. Алгоритмы. Консольное приложение написанное на языке программирования Java. Программа делает следующее:

  1. Просит ввести натуральное число (целое положительное).
  2. Вычисляет остаток от деления числа на 2.
  3. Если остаток равен 0, то число чётное и нечётное в противном случае. Разработано в интегрированной среде Apache NetBeans (в редакторе Microsoft Visual Studio Code).

About

IsNumberEven. Java tutorials. Console Application. Algorithms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors