// 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;
Explanation:
1 Ms word - b. Word processing software
2 Pagemaker - c desktop publishing
3 Ms excel - f finance and data analyses
4 dbase - a database management system
6 Mcafee/Norton - d anti-virus software
7 virus - h computer program that can replicate itself
8 inbox, compose,.............. - parts of an email account