Answer:
1100 ; 11000 ; 110000 ; 1100000
Explanation:
Converting the following decimals to binary :
2__12
2__6 r 0
2__3 r 0
2__1 r 1
___0 r 1
12 = 1100 base 2
2.)
2__24
2__12 r 0
2__6 r 0
2__3 r 0
2__1 r 1
___0 r 1
24 = 11000 base 2
2__48
2__24 r 0
2__12 r 0
2__6 r 0
2__3 r 0
2__1 r 1
___0 r 1
48 = 110000 base 2
2__96
2__48 r 0
2__24 r 0
2__12 r 0
2__6 r 0
2__3 r 0
2__1 r 1
___0 r 1
96 = 1100000 base 2
It is languages and compilers. Hope this helps!!!
Answer:
1. C++ is fun
Explanation:
Writing the code more clear:
int number;
cin >> number;
if (number > 0)
cout << "C++";
else
cout << "Soccer";
cout << " is ";
cout << "fun" << endl;
On the IF line, the conditional expression is evaluated TRUE (11 > 0), so the string "C++" is printed.
Then, the ELSE sentence is not executed since the expression has been already evaluated as TRUE.
Notice there are no additional brackets, so only the line cout << "Soccer"; is considered inside the ELSE.
The two remaining lines are executed always.
The final result is:
C++ is fun
He’d use Microsoft Access to add a list of the parents of his close friends. You can use Microsoft Access and further explore the various functions that this application comes with. Assume that Jerry already has an existing table with a list of his immediate family and friends; he can create two more tables and name them “Friends’ Parents.” This way, he will have the existing fields and the new one.