<h3>
Answer: B. Undo</h3>
Explanation:
This command is often found under the "edit" menu of many programs. On the toolbar, the undo button is a backwards (sometimes curved) arrow. More specifically, the arrow points to the left as if to mean "go back and fix". Likely it points to the left due to many western languages reading from left to right, so the undo arrow goes in the opposite direction.
In contrast, the "redo" button points in the other direction to repeat the last action you applied. The redo button also undoes whatever the undo button did. For instance, if you deleted a word and then hit undo, then the word would come back. Hitting redo will delete the word again.
Answer:
Explanation:
Known Variables A = max Daily Rentals
X = Damaged helmets %
lets find the formula to calculate Helmets per location :taking 1st row as an example.
412 = B - (B*13/100)
412 = (100B-13B)/100
412*100 = 87B
B= 412*100/87
Hence, the generic formula becomes : B= A*100/(100-X)
Applying the same formula for each row and then using ROUND function of excel to round off the digits
=ROUND(number,digits) where number is the number you would like to round off and the digits is the number of decimal digits for it to round off. Since we want natural numbers in our example, we will be using digits as 0.
Explanation:
See attached pictures also.
Answer:
result in an error.
Explanation:
The statement cout << sales[0,3] + sales[1,3]; corresponds to a syntax error.
In order to refer to a certain element in a double dimension array in C++, the correct syntax should be :
cout<<a[0][3]+a[1][3];
Answer:
Check the explanation
Explanation:
Here is the program with function definition and two sample calls.
Code:
#include <iostream>
using namespace std;
//checkMe FUNCTION which takes values a, b and c
void checkMe(char &a, int &b, int &c)
{
//if sum of b and c is negative and a is 'n', b and c are set to 0, otherwise a is set to 'p'
if((b+c)<0 && a=='n')
{
b = 0;
c = 0;
}
else
{
a = 'p';
}
}
int main()
{
//first test case when else part is executed
char a = 'n';
int b = 5;
int c = 6;
checkMe(a, b, c);
cout<<a<<" "<<b<<" "<<c<<endl;
//second test case when if part is executed
a = 'n';
b = -4;
c = -5;
checkMe(a, b, c);
cout<<a<<" "<<b<<" "<<c<<endl;
return 0;
}
Kindly check the Output below: