Answer:
To protect a formula
Explanation:
One common example to apply cell protection to spreadsheet entries is to protect a formula used in the sheet to calculate payouts or rankings for example. A manager might want to share the results of the team to all its team and provides some ranking or other form of calculations in the sheet. He then needs to protect the formula so it's not altered by the team members or anyone else reviewing the file.
// making the class
class Counter {
int counter;
int limit;
// Constructor
Counter(int a, int b){
counter = a;
limit = b;
}
// static function to increment
static increment(){
if(counter<limit)
nCounter+=1;
}
// Decrement function
void decrement(){
if(counter>0)
nCounter-=1;
}
int getValue(){
return counter;
}
static int nCounter;
int getNCounters(){
return nCounter;
}
};
// Initializa the static
int Counter::nCounter = 0;
Answer: I think it’s D
Explanation: the rest apply to the the rules of 1NF and 2NF
Istream& operator>> (istream& input, Example& example)
{
// Extract your data from input stream here
return input;
}