Skip to content

pchp250g8-home-cpp-tutorials/msvc-cpp-console-isnumbereven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IsNumberEven. C++ Tutorials. Microsoft Visual Studio IDE. Simple Input/Output. Algorithms. Console application.

A console application in the C++ 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 Microsoft Visual Studio integrated environment.

IsNumberEven. ИС Visual Studio. Занятия по C++. Простой Ввод/Вывод. Алгоритмы. Платформа Windows. Консольное приложение.

Консольное приложение написанное на языке программирования C++. Программа делает следующее:

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

About

IsNumberEven. C++ Tutorials. Microsoft Visual Studio IDE. Simple Input/Output. Algorithms. Console application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages