Answer:
Please find the code and its output in the attached file:
Explanation:
In this code a structure "menuItemType" is defined that declared float and integer variable and outside the structure its list type variable "menuList" is defined that holds and calculates its value.
In the next step, a class "Rest" is defined, and inside the class a method "getData", "showMenu", and "printCheck" is defined, in which the above methods uses the switch for input and calculate the value and the last "printCheck" calculates the Tax and Amount Due value.
In the main method, a class object is created that prints message and call the above method.
Answer:
for (int i = 0; i < 9; ++i)
{
int k = 0;
while (k < 20 && scotus[i][k] != '')
{
cout << scotus[i][k];
k++;
}
cout << "\n";
}
Explanation:
scotus here is a two dimensional array. It contains names of 9 justices. so the loop starts from 0 and ends when i points to the last name element in the array. Then a while loop is used to check that name is longer than twenty characters and will keep on printing each output on the separate line.
Another way to write this:
for (int i = 0; i < 9; i++){
cout << scotus[i] << "\n";
}
This loop will keep on executing and printing the names of the nine justices at every iteration until it reaches the end of the array (last element of the array scotus).
This question is incomplete because it lacks the appropriate options
Complete Question
What are some options available in the Spelling and Grammar Checker?
Check all that apply.
a) Change and Change All
b) Redo and Repeat
c) Ignore Once and Ignore All
d) Add to Dictionary
e) AutoFormat
f) Font
g) AutoCorrect
h) Undo
Answer:
a) Change and Change All
c) Ignore Once and Ignore All
d) Add to Dictionary
g) AutoCorrect
Explanation:
Spelling and grammar check is an option under the REVIEW Menu in Microsoft Word.
Spelling and grammar checker is used to check for errors in spelling and grammar found in a Microsoft Word document.
Some options available in Spelling and grammar checker are:
• Change and Change All
• Ignore Once and Ignore All
• Add to Dictionary
• AutoCorrect
You go to edit profile and press the change password button. click on profile pic