binary
Chat with our AI personalities
This is just decimal, the number system that we usually use. Decimal means that there are 10 digits (0-9) as opposed to other number systems such as binary, which has only two digits.
#include #include using std::cin;using std::cout;using std::endl;using std::tolower;inline void decToHexOct(unsigned int number, char base);int main(){cout number;cout
lines
They are the coordinate axes.
0,1,10,11,100,101,110,111,1000,1001,1010,1011,1100,1101,1110 In base 10 (the number system normally used) each digit in the number is valued 0-9, and the placement of each digit corresponds to the amount of times the number is to be multiplied by ten. Fore example, the number one hundred and twenty two when put in to base 10 is 122, or more clearly: 100 10 1 1 2 2 In base 2 its all but the same except, instead of 100, 10, 1, you use powers of two (1, 2, 4, 8, 16, 32, 64...) and instead of each number being valued 0-9 it is valued 0-1. So, to write 122 in base 2 or binary you would write 1111010, or put more simply: 64 32 16 8 4 2 1 1 1 1 1 0 1 0