Answer:
- int birthMonth, birthYear;
-
- cin >> birthMonth;
- cin >> birthYear;
-
- cout << birthMonth << "/" << birthYear;
Explanation:
Firstly, we declare two integer type variables, <em>birthMonth</em> and <em>birthYear </em>(Line 1). Next, we use cin as the standard input stream to get the birth month and year from user (Line 3 - 4). Finally, we print the date using cout. We can chain the << operator to create a date string with format birthMonth/birthYear as expected by question (Line 6)
(10101)_2=(21)10
Given : Number (10101)_2(10101)2
To find : What is the value of (10101)_2(10101)2 in decimal number system?
Solution :
Decimal number system is a positional numeral system employing 10 as the base.
Now, to convert it into base 10
Multiply each digit of the following binary by the corresponding power of 2:
(10101)_2(10101)2
=1\times 2^4+0\times 2^3+1\times 2^2+0\times 2^1+1\times 2^0=1×24+0×23+1×22+0×21+1×20
=1\times 16+0\times 8+1\times 4+0\times 2+1\times 1=1×16+0×8+1×4+0×2+1×1
=16+0+4+0+1=16+0+4+0+1
=21=21
Therefore, (10101)_2=(21)_{10}(10101)2=(21)10
A. the operating system handles the I/O devices with the cpu, :)
Answer:
standalone computer
Explanation:
If your PC is not connected to a network, it is referred to as a standalone computer.
Hope this helped and have a good day
CPU (Central Processing Unit) is also known as the brain of the computer because this is the place which actually runs the programs. The programs are the set of instructions needed to perform a task.