Answer:
Following are the code to this question:
#include <iostream> //defining header file
using namespace std;
void numbers(ostream &outs, const string& prefix, unsigned int levels); // method declaration
void numbers(ostream &outs, const string& prefix, unsigned int levels) //defining method number
{
string s; //defining string variable
if(levels == 0) //defining condition statement that check levels value is equal to 0
{
outs << prefix << endl; //use value
}
else //define else part
{
for(char c = '1'; c <= '9'; c++) //define loop that calls numbers method
{
s = prefix + c + '.'; // holding value in s variable
numbers(outs, s, levels-1); //call method numbers
}
}
}
int main() //defining main method
{
numbers(cout, "THERBLIG", 2); //call method numbers method that accepts value
return 0;
}
Output:
please find the attachment.
Explanation:
Program description:
- In the given program, a method number is declared, that accepts three arguments in its parameter that are "outs, prefix, levels", and all the variable uses the address operator to hold its value.
- Inside the method a conditional statement is used in which string variable s and a conditional statement is used, in if the block it checks level variable value is equal to 0. if it is false it will go to else block that uses the loop to call method.
- In the main method we call the number method and pass the value in its parameter.
Changing a worksheet name in Microsoft Excel can be done in multiple ways, but only one of them is correctly explained in the provided option, which is (A) double-click both the worksheet tabs one at a time and then enter the new names.
The other options are incorrect. Even though you can change a worksheet’s name by right-clicking the sheet name, you also need to choose the appropriate option from the window bar that would appear – which is, of course, the rename option.
THE correct answer is c 10 minuets
Merge Fields
Merge fields are fields that contain placeholders where you can put email templates such as addresses and greetings. In addition to email templates, you can put mail merge templates and custom links. For instance, a user can place a merge field in an email template so that the salutation or the greeting includes the recipient's name rather than a simple "Hi" or "Hello".
ALT + CTRL + D
From time to time, you may find it important to insert endnotes in your Word document. By default, endnotes appear at the end of the document and a number on endnotes matches up with a reference mark. To insert an endnote, you can click the reference tab or hit the combination keys ALT + CTRL + D
Yes
There are many ready-to-use Microsoft Document Templates available online that can help you jump start your project. If you are searching for a particular layout or style template and you cannot find it, you do not have to create one from scratch. You can search for thousands of templates in the Microsoft Office Online site