Back to Freecodecamp

Task 11

curriculum/challenges/english/blocks/learn-how-to-use-code-related-concepts-and-terms/6630e831b3a1a36de42fb705.md

latest784 B
Original Source

--description--

Whole numbers are basic numerical data types in programming and mathematics. They are numbers without fractional or decimal parts, including all positive integers (like 1, 2, 3), negative numbers (like -4, -9) and zero (0).

--questions--

--text--

What are whole numbers in the context of programming?

--answers--

Numbers with decimal parts

--feedback--

Whole numbers do not have decimal parts; they are integers like 0, 1, 2, etc.


Negative numbers

--feedback--

Whole numbers include all positive integers, negative numbers and zero.


Numbers without fractions or decimals


Letters and symbols

--feedback--

Whole numbers refer to standard numerical digits, not to letters or symbols.

--video-solution--

3