Answer:
Rearrange the order of slides
In the pane on the left, click the thumbnail of the slide that you want to move, and then drag it to the new location. Tip: To select multiple slides, press and hold Ctrl while you click each slide that you want to move, and then drag them as a group to the new location.
Explanation:
Answer:
a. (p*Main).age = 20;
Explanation:
Pointers use ->
where as normal variable use . to access its members
pMain is the pointer.
*pMain is the value inside pMain.
pMain->age = 20;
This statement equals to
(*pMain).age = 20;
Answer is option a.
<span>#include <iostream>
using namespace std;
bool bears(int n);
int main(){
int number;
do{
cout<<"enter the amount of bears (press 0 to stop the program): ";
cin>>number;
if (bears(number)){
cout<<"you have reached the goal!"<<endl;
}
else{
cout<<"sorry, you have not reached the goal."<<endl;
}
}while(number != 0);
}
bool bears(int n){
if (n < 42){
return false;
}
else if (n == 42){
return true;
}
else{
if (n % 5 == 0){
return bears(n - 42);
}
else if(n % 2 == 0){
return bears(n / 2);
}
else if(n % 4 == 0|| n % 3 == 0)
{
int one;
int two;
one=n%10;
two=(n%100)/10;
return bears(n - one * two);
}
}
<span>}</span></span>
C, <span>Word processing can be used to create databases of information.</span>
5 is one bigger than 4, so it is 101
Note: this doesn't always work for every number.
the binary numbers 1-8 would be: 1, 10, 11, 100, 101, 110, 111, 1000
Can you guess 9?: 1001
10?: 1010
Hope this helps, <span>and May the Force Be With You!
-Jabba
</span>